chore: config file.

This commit is contained in:
Terry Geng 2020-03-06 17:13:45 +08:00
parent 1f22d3b1a9
commit 8e6a639e57
2 changed files with 9 additions and 5 deletions

View File

@ -31,7 +31,7 @@ username = botamusique
comment = Hi, I'm here to play radio, local music or youtube/soundcloud music. Have fun!
# default volume from 0 to 1.
volume = 0.1
# playback mode should be one of "one-shot", "loop", "random"
# playback mode should be one of "one-shot", "loop", "random", "autoplay"
playback_mode = one-shot
# target version, stable or testing (testing need to bot installed with git)
@ -227,7 +227,8 @@ help = <h3>Commands</h3>
<li> <b>!<u>la</u>st </b> - jump to the last song </li>
<li> <b>!<u>v</u>olume </b> {volume} - get or change the volume (from 0 to 100) </li>
<li> <b>!<u>m</u>ode </b> [{mode}] - get or set the playback mode, {mode} should be one of <i>one-shot</i> (remove
item once played), <i>repeat</i> (looping through the playlist), <i>random</i> (randomize the playlist)</li>
item once played), <i>repeat</i> (looping through the playlist), <i>random</i> (randomize the playlist),
<i>autoplay</i> (randomly grab something from the music library).</li>
<li> <b>!duck </b> on/off - enable or disable ducking function </li>
<li> <b>!duckv </b> - set the volume of the bot when ducking is activated </li>
<li> <b>!<u>duckt</u>hres </b> - set the threshold of volume to activate ducking (3000 by default) </li>

View File

@ -30,7 +30,7 @@ port = 64738
# '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).
# or "random" (randomize the playlist), "autoplay" (randomly grab something from the music library).
# This option will be overridden by value in the database.
#playback_mode = one-shot
@ -71,8 +71,11 @@ port = 64738
#allow_other_channel_message = False
#allow_private_message = True
# 'save_playlist': If save_playlist is set True, the bot will save current
# playlist before quitting and reload it the next time it start.
# 'save_music_library': If this is set True, the bot will save the metadata of music into the database.
#save_music_library = True
# 'save_playlist': If save_playlist is set True, the bot will save current playlist before quitting
# and reload it the next time it start. It requires save_music_library to be True to function.
#save_playlist = True
# 'max_track_playlist': Maximum track played when a playlist is added.