feat!: Updated configuration and moved config location

This commit is contained in:
Marius Begby committed 2023-07-18 13:11:15 +02:00
1 parent 2d0df79dac
commit dd4b56ae67
40 files changed
+468 -482

No files matched your search

+17 -5
View File
@@ -1,14 +1,26 @@
# This file contains all the environment variables that are used by the bot.
# For production use, set NODE_ENV to production
# For development use, set NODE_ENV to development
NODE_ENV=development
MINIMUM_LOG_LEVEL=debug
MINIMUM_LOG_LEVEL_CONSOLE=info
# Required: Login credentials for the bot
# Retrieve your bot token and application id from https://discordapp.com/developers/applications/me
DISCORD_BOT_TOKEN=YOUR_DISCORD_BOT_TOKEN
DISCORD_CLIENT_ID=YOUR_DISCOR_BOT_CLIENT_ID
UV_THREADPOOL_SIZE=4
NODE_OPTIONS=
DISCORD_APPLICATION_ID=YOUR_DISCORD_BOT_APPLICATION_ID
# Optional: Set a YouTube cookie to reduce the chance of getting rate limited / 429 Too Many Requests
YOUTUBE_COOKIE=
# Optional: Authentication tokens for botlist websites to automatically update server count, etc.
# See /src/utils/postBotStats.js for more information
BOTLIST_TOP_GG_API_TOKEN=
BOTLIST_DISCORD_BOT_LIST_COM_API_TOKEN=
BOTLIST_DISCORDS_COM_API_TOKEN=
BOTLIST_DISCORD_BOTS_GG_API_TOKEN=
BOTLIST_BOTLIST_ME_API_TOKEN=
BOTLIST_DISCORDLIST_GG_API_TOKEN=
# Optional: Only change this if you know what you are doing
NODE_OPTIONS=
UV_THREADPOOL_SIZE=