-
Notifications
You must be signed in to change notification settings - Fork 17
Configuration
Found in config.json
and /config/config.py
All of these settings can be overridden using config.json and environment variables.
BOT_TOKEN
- Your bot's authentication token for connecting to Discord. Do not share this with anyone.
SPOTIFY_ID & SPOTIFY_SECRET
- Your bot's authentication tokens for connecting to Spotify. Do not share this with anyone.
BOT_PREFIX
- The command prefix your bot will use
MENTION_AS_PREFIX
- Whether to allow using bot mention as prefix
ENABLE_SLASH_COMMANDS
- Whether to register slash commands
ENABLE_BUTTON_PLUGIN
- Whether to enable button plugin
EMBED_COLOR
- Setting for embed color. Use a color hex picker to get your value and replace after'0x' with desired hex code ex.
'#ff0188' >> '0xff0188'
SUPPORTED_EXTENSIONS
- Setting for supported file types. Most common formats are included by default.
MAX_SONG_PRELOAD
- Setting for the maximum amount of songs to preload and show in the queue command. Maximum value of 25.
DATABASE_URL
- For advanced users. Database used as settings storage.
Defaults to sqlite
settings.db
file, but any SQL Alchemy-supported async-compatible url may be used. Table will be created automatically, and data from legacysettings.json
(if present) will be moved to DB.
GLOBAL_DISABLE_AUTOJOIN_VC
- Disable the VC autojoin entirely and prevent per guild setting change. True/False
VC_TIMEOUT
- The VC timeout (seconds) Integer value
VC_TIMEOUT_DEFAULT
- The default guild template setting for VC timeout. True/False (True= yes, timeout False= no timeout)
ALLOW_VC_TIMEOUT_EDIT
- Allow or disallow the per guild setting change. True/False
COOKIE_PATH
- The path to the cookies.txt file the bot will use when making web requests.
MAX_HISTORY_LENGTH
- Setting for the maximum amount of songs to store in history.
Found in \config\cookies\cookies.txt
The default cookies file used when performing searches and loading content. If you are having trouble loading a site, export the cookies from your web browser in the Netscape format and put into this file. Restart the bot.
You can use this extension for Chrome: https://chromewebstore.google.com/detail/get-cookiestxt-clean/ahmnmhfbokciafffnknlekllgcnafnie
Or this one for Firefox: https://addons.mozilla.org/en-US/firefox/addon/cookies-txt/