-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
90 lines (70 loc) · 2.57 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#*************#
#** DISCORD **#
#*************#
# Discord 'App Token' and 'Client ID'
# https://discord.com/developers/applications
TOKEN=
CLIENT_ID=
# The 'Role ID' -> The role to give once the repo has been starred
# The 'Server ID' -> The server where the bot is going to be used
# The 'Channel ID' -> The channel where the bot is going to post
ROLE_ID=
GUILD_ID=
CHANNEL_ID=
# Automatically check if the verified users removed their star on the repo
# then remove their role on discord and update their status in the database
# The delay is set in seconds, minimum 5 minutes if not set it will default to one hour
# examples: 300 = 5 minutes, 3600 = 1 hour, 86400 = 1 day, 604800 = 1 week
AUTOMATIC_CHECK=True
AUTOMATIC_CHECK_DELAY=3600
# Custom "Useful links" Command
# NOTE: The 'COMMAND_NAME' only supports lowercase
# REQUIRED: the bot will crash if these are not set
COMMAND_NAME=hyperlinks
COMMAND_DESCRIPTION=Useful Links
COMMAND_EXTENDED_DESCRIPTION=- 🌐 Quick access to **GitHub**, **Discord**, **YouTube** and **Reddit**
BTN1=💻GitHub
URL1=https://github.com/
BTN2=💬Discord
URL2=https://discord.com/
BTN3=📺Youtube
URL3=https://youtube.com/
BTN4=📝Reddit
URL4=https://reddit.com
#******************#
#** GITHUB OAUTH **#
#******************#
# The target user/repo for the bot functions
REPO_OWNER=
GITHUB_REPO=
# SERVER
# default port=5000
# domain="https://your-domain.com", you need to use a domain to make it usable outside your home network
SERVER_PORT=5000
DOMAIN=https://example.com
# GitHub Oauth
# https://github.com/settings/apps
# set the callback to `https://your-domain/authorize` in the Github Developer settings
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# GitHub Public Access Token
GITHUB_TOKEN=
# Set to a random secret key to secure the oauth (mix of letters, numbers, and symbols)
SECRET_KEY=SecretKey
#**********************#
#** MONGODB DATABASE **#
#**********************#
# MONGO_HOST - default: mongodb (to use inside docker), you can also use localhost or a remote mongodb address
# example: mongodb+srv://username:[email protected]/?retryWrites=true
MONGO_HOST=mongodb://127.0.0.1:27017/Starguard
MONGO_DATABASE=starguard
#*******************#
#** MONGO-EXPRESS **#
#*******************#
# You can access the database by visiting http://localhost:8081/ (default port=8081)
# Change the default credentials here
# default: username=admin, password=password
# Use the override file to enable, uncomment and configure the following if you do
# MONGO_EXPRESS_USERNAME=admin
# MONGO_EXPRESS_PASSWORD=password
# MONGO_EXPRESS_PORT=8081