Raptor123471 / DingoLingo

A Discord music bot written in Python with support for Youtube, SoundCloud, Spotify, Bandcamp, Twitter, and custom files.
GNU General Public License v3.0
279 stars 166 forks source link

Added more Docker Variables #124

Closed DerP4si closed 1 year ago

DerP4si commented 1 year ago

1.Added docker env var's such as:

 - BOT_TOKEN
 - SPOTIFY_ID
 - SPOTIFY_SECRET
 - BOT_PREFIX
 - VC_TIMEOUT
 - MAX_SONG_PRELOAD
 - ENABLE_SLASH_COMMANDS
 - VC_TIMOUT_DEFAULT
 - MAX_HISTORY_LENGTH
 - MAX_TRACKNAME_HISTORY_LENGTH

those can now be modifyed outside of the container, while still having a fallback value for usage in a non-docker environment. To do so i had to add a get_env_var function wich converts the given strings to the type of usage. I tried to put it in the "setup.py" but thats throwing errors...

  1. Updated python 3.8 to 3.10 in dockerfile