add support for setting bot bandwidth

feat: Add support for setting bandwidth
Changes the default bandwidth value to 96000
This commit is contained in:
雲華
2021-05-04 23:04:46 +00:00
committed by GitHub
parent 72595f20fc
commit f36611f07b
4 changed files with 19 additions and 1 deletions

View File

@ -49,6 +49,11 @@ port = 64738
# This option will be overridden by value in the database.
#volume = 0.1
# 'bandwidth' is the number of bits per second used by the bot when streaming audio. Enabling this
# option will allow you to set it higher than the default value. If the value exceeds the servers
# bitrate, the bitrate used by the bot will match the servers.
#bandwidth = 200000
# 'playback_mode' defined the playback mode of the bot.
# it should be one of "one-shot" (remove item once played), "repeat" (looping through the playlist),
# or "random" (randomize the playlist), "autoplay" (randomly grab something from the music library).