This repository has been archived by the owner on Jan 19, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 219
Environment Variables
Uped edited this page Oct 2, 2020
·
24 revisions
These variables are used for specific usages, like Spotify command, web auth and so on. See the .env
example here.
Variable | Required | Description |
---|---|---|
BOT_GUILD |
No | The bot's guild ID |
DEVELOPER_ROLE |
No | Developer role ID inside of the bot's guild. Used for developer commands |
LOGGING_CHANNEL_ID |
No | Channel ID for logging bot joins and leaves |
DISCORD_TOKEN |
Yes | Your Discord BOT TOKEN |
EMBED_COLOR |
No | Default color in hex for embeds |
LAVALINK_NODES |
No | Array of Lavalink node, see example here |
MONGODB_URI |
No | Used to establish a connection with your MongoDB database. (We recommend mLab) for development databases |
PREFIX |
Yes | The bot's default prefix |
SPOTIFY_CLIENT_ID |
No | Spotify Web API Client ID |
SPOTIFY_CLIENT_SECRET |
No | Spotify Web API Secret Key |
TWITCH_CLIENT_ID |
No | Twitch Client ID |
YOUTUBE_API_KEY |
No | YouTube Data API v3 keyhttps://console.cloud.google.com/apis/credentials |
CROWDIN_API_KEY |
No | Crowdin API key |
CROWDIN_PROJECT_ID |
No | ID of the Crowdin Project |
GENIUS_API |
No | Genius API key |
GITHUB_CLIENT_ID |
No | Github Client ID |
GITHUB_CLIENT_SECRET |
No | Github Client ID |
GMAPS_KEY |
No | Google Maps API key |
DARKSKY_KEY |
No | DarkSky API key |
STEAM_API_KEY |
No | Steam API key |
STEAM_LADDER_API_KEY |
No | SteamLadder API key |
TUMBLR_API_KEY |
No | Tumblr API key |
LANGUAGELAYER_API_KEY |
No | Language Layer API key |
MERRIAM_WEBSTER_API_KEY |
No | Merriam Webster API key |
DBL_WEBHOOK_SECRET |
No | DiscordBotList Webhook Secret |
LASTFM_KEY |
No | Last.fm API key |
KSOFT_KEY |
No | KSOFT API key |
PORT |
No | Your bot REST API port |
JWT_SECRET |
No | Your JWT secret for the WEB AUTH |
CLIENT_ID |
No | Your Discord OAUTH client ID |
CLIENT_SECRET |
No | Your Discord OAUTH secret token |
REDIRECT_URI |
No | Your Discord OAUTH redirect URI |
OWLBOT_KEY |
No | Owlbot API key |