Skip to content

Configuration

Raptor123471 edited this page Sep 27, 2021 · 7 revisions

Bot Configuration Options

Found in /config/config.py

Global Settings

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

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.

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_TIMOUT_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.

Custom Cookies

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 and paste the Netscape format export contents in this file. Restart the bot.

Clone this wiki locally