Here you can find all the parameters that can be defined in .env files or env variables. Commonly we set here variables that can differ from each environments (prod, dev, CI, etc) like tokens or api domains.
You can use the .env.example
file as a starting point for your configuration.
Name | Description | Example |
---|
DISCORD_TOKEN | Discord bot token | 1234567890abcdef |
DISCORD_CLIENT_ID | Discord public client ID | 123456789012345678 |
DISCORD_CLIENT_SECRET | Discord private client secret key | abcdefghijklmnopqrstuvwxyz123456 |
Name | Description | Example |
---|
MONGO_URI | MongoDB connection URI string | mongodb://user:pass@localhost:27017/dbname |
Name | Description | Example |
---|
BOT_PREFIX | Prefix for prefix-based commands. Used as default or fallback prefix. | ! |
SECRET_KEY | Secret used to encrypt data such as JWT tokens. | supersecretkey |