-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.template
39 lines (30 loc) · 1.51 KB
/
.env.template
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
#region database
# (Required) Connection URL for the Postgres DB
DB_URL="postgresql://user:password@localhost:5432/yt-info-bot"
# If set to true, logs all DB operations
DB_DEBUG=false
#region bot
# (Required) Application or client ID from Discord Developer Portal
APPLICATION_ID=
# (Required) Token from Discord Developer Portal
BOT_TOKEN=
# (Required) Make sure to add the application / client ID below and adjust permissions and scope as needed:
BOT_INVITE_URL="https://discord.com/api/oauth2/authorize?client_id=__INSERT_ID_HERE__&permissions=292058098752&scope=bot%20applications.commands"
# (Required) invite to the support server
SUPPORT_SERVER_INVITE_URL="https://dc.sv443.net/"
# Max results for commands with autocomplete - default is 25 and it gets set to the default if above 25
MAX_AUTOCOMPLETE_RESULTS=25
#region other
# If set, a metrics message will be sent to this guild and channel - some metadata is persisted through the file .metrics.json
METRICS_GUILD=
METRICS_CHANNEL=
# After how many seconds on interval the metrics message will be updated - default is 60 - minimum is 1
METRICS_UPDATE_INTERVAL=60
# After how many seconds on interval all registered guilds should be checked for the bot being kicked - default is 300 - minimum is 10
GUILD_CHECK_INTERVAL=300
# Can be either development or production
NODE_ENV="development"
# Empty for no prefix, else all command names will have this prefix
CMD_PREFIX=
# Whether to send a bell character to the terminal when the bot is ready to receive commands
BELL_ON_READY=