2019-11-30 02:00:14 +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
|
|
|
|
|
2019-11-13 00:09:06 +00:00
|
|
|
# Put Discord token here
|
|
|
|
TOKEN=
|
2020-12-18 02:32:19 +00:00
|
|
|
|
2020-12-18 21:42:34 +00:00
|
|
|
# Put database type here (mongo or postgres)
|
2020-12-18 22:05:43 +00:00
|
|
|
DB_DRIVER=mongo
|
2020-12-18 21:42:34 +00:00
|
|
|
|
2020-12-18 22:05:43 +00:00
|
|
|
# Put the database connection URL here
|
|
|
|
# Example for PostgreSQL:
|
|
|
|
# DB=postgresql://esmbot@localhost:5432/esmbot
|
|
|
|
# Example for MongoDB:
|
|
|
|
DB=mongodb://localhost:27017/esmBot
|
2020-12-18 21:42:34 +00:00
|
|
|
|
2019-11-30 02:00:14 +00:00
|
|
|
# Put snowflake ID of bot owner here
|
|
|
|
OWNER=
|
|
|
|
|
2020-09-03 22:48:28 +00:00
|
|
|
# Put default prefix here
|
|
|
|
PREFIX=&
|
|
|
|
|
2019-11-30 02:00:14 +00:00
|
|
|
###########
|
|
|
|
# Optional
|
|
|
|
###########
|
|
|
|
|
2019-11-13 00:09:06 +00:00
|
|
|
# Put Cat API token here
|
|
|
|
CAT=
|
|
|
|
# Put Mashape/RapidAPI key here
|
|
|
|
MASHAPE=
|
|
|
|
# Put Google API key here
|
|
|
|
GOOGLE=
|
|
|
|
# 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
|
|
|
|
2020-09-19 00:54:52 +00:00
|
|
|
# Put headless Chrome IP here
|
|
|
|
CHROME=172.17.0.1:9222
|
|
|
|
|
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=
|
2019-12-05 17:40:09 +00:00
|
|
|
|
2020-07-22 01:29:32 +00:00
|
|
|
# Set this to true if you're using PM2 to manage the bot
|
|
|
|
PMTWO=false
|
2020-11-05 21:40:18 +00:00
|
|
|
# Set this to true if you want to use the image API
|
|
|
|
API=false
|
2020-07-22 01:29:32 +00:00
|
|
|
|
2019-11-30 02:00:14 +00:00
|
|
|
# Enable/disable Twitter bot (true/false)
|
|
|
|
TWITTER=false
|
|
|
|
# Put Twitter username here
|
|
|
|
HANDLE=
|
|
|
|
# Put consumer key, consumer secret, access token, and access secret here
|
|
|
|
TWITTER_KEY=
|
|
|
|
CONSUMER_SECRET=
|
|
|
|
ACCESS_TOKEN=
|
|
|
|
ACCESS_SECRET=
|