2022-02-23 01:44:13 +00:00
|
|
|
############
|
|
|
|
# Required #
|
|
|
|
############
|
2019-11-13 00:09:06 +00:00
|
|
|
|
2019-12-09 20:52:33 +00:00
|
|
|
# Put environment type here (development, staging, or production)
|
|
|
|
NODE_ENV=development
|
|
|
|
|
2021-11-12 23:21:43 +00:00
|
|
|
# Put Discord bot token here, you can get it from https://discord.com/developers/applications
|
2019-11-13 00:09:06 +00:00
|
|
|
TOKEN=
|
2020-12-18 02:32:19 +00:00
|
|
|
|
2020-12-18 22:05:43 +00:00
|
|
|
# Put the database connection URL here
|
2021-07-02 04:42:12 +00:00
|
|
|
# Example for SQLite:
|
2022-01-04 16:48:28 +00:00
|
|
|
DB=sqlite://data.sqlite
|
2021-03-18 16:19:08 +00:00
|
|
|
# Example for PostgreSQL:
|
2022-01-04 16:48:28 +00:00
|
|
|
# DB=postgresql://esmbot:verycoolpass100@localhost:5432/esmbot
|
2020-12-18 21:42:34 +00:00
|
|
|
|
2022-01-04 16:48:28 +00:00
|
|
|
# Put snowflake ID of bot owner here (obtainable by going into Discord settings -> Appearance and enabling Developer Mode,
|
|
|
|
# then right clicking on your profile picture and selecting Copy ID)
|
2019-11-30 02:00:14 +00:00
|
|
|
OWNER=
|
|
|
|
|
2022-07-26 06:27:02 +00:00
|
|
|
# Put default classic command prefix here
|
2020-09-03 22:48:28 +00:00
|
|
|
PREFIX=&
|
|
|
|
|
2022-02-23 01:44:13 +00:00
|
|
|
############
|
|
|
|
# Optional #
|
|
|
|
############
|
2019-11-30 02:00:14 +00:00
|
|
|
|
2021-12-12 05:44:49 +00:00
|
|
|
# Set this to true if you want the bot to stay in voice chats after sound effects and music have stopped
|
|
|
|
# (you can still make the bot leave using the stop command)
|
|
|
|
STAYVC=false
|
2021-03-19 15:26:17 +00:00
|
|
|
|
2019-11-13 00:09:06 +00:00
|
|
|
# Put DBL/top.gg token here
|
|
|
|
DBL=
|
2020-10-18 21:53:35 +00:00
|
|
|
# Put Tenor API key here (used for obtaining raw tenor GIF urls)
|
|
|
|
TENOR=
|
2019-11-13 00:09:06 +00:00
|
|
|
|
2019-12-05 17:40:09 +00:00
|
|
|
# Put HTML help page output location here, leave blank to disable
|
|
|
|
OUTPUT=
|
2020-04-24 02:14:03 +00:00
|
|
|
# Put temporary image dir here (make sure it's accessible via a web server), leave blank to disable
|
|
|
|
TEMPDIR=
|
2021-03-05 18:03:17 +00:00
|
|
|
# Put temporary image web server domain
|
|
|
|
TMP_DOMAIN=
|
2022-03-11 01:22:04 +00:00
|
|
|
# Threshold where optional space saving methods will be performed
|
|
|
|
THRESHOLD=
|
2021-05-02 20:16:48 +00:00
|
|
|
# Port for serving metrics. Metrics served are compatible with Prometheus.
|
|
|
|
METRICS=
|
2019-12-05 17:40:09 +00:00
|
|
|
|
2022-04-17 15:40:56 +00:00
|
|
|
# The image API type to be used
|
|
|
|
# Set this to `none` to process all images locally
|
|
|
|
# Set this to `ws` if you want to use the external image API script, located in api/index.js
|
|
|
|
# Set this to `azure` to use the Azure Functions API
|
|
|
|
API_TYPE=none
|
|
|
|
# If API_TYPE is `azure`, set this to your Azure webhook URL
|
|
|
|
AZURE_URL=
|
|
|
|
# If API_TYPE is `azure`, set an optional password for webhook responses
|
2022-09-01 15:40:55 +00:00
|
|
|
AZURE_PASS=
|
|
|
|
|
|
|
|
# Put ID of server to limit owner-only commands to
|
|
|
|
ADMIN_SERVER=
|