token support
This commit is contained in:
@ -3,6 +3,7 @@ host = 127.0.0.1
|
||||
port = 64738
|
||||
password =
|
||||
channel =
|
||||
tokens = # example: token1,token2
|
||||
|
||||
[bot]
|
||||
username = botamusique
|
||||
@ -37,6 +38,12 @@ listening_addr = 127.0.0.1
|
||||
listening_port = 8181
|
||||
|
||||
[command]
|
||||
#This it the char (only on letter) the bot will recognize as a command
|
||||
command_symbol = !
|
||||
#this option split username, in case you use such kind of mumo plugins https://wiki.mumble.info/wiki/Mumo#Set_Status
|
||||
split_username_at_space = False
|
||||
|
||||
|
||||
play_file = file
|
||||
play_url = url
|
||||
play_radio = radio
|
||||
@ -55,6 +62,14 @@ queue = queue
|
||||
repeat = repeat
|
||||
update = update
|
||||
|
||||
user_ban = userban
|
||||
user_unban = userunban
|
||||
url_ban = urlban
|
||||
url_unban = urlunban
|
||||
|
||||
#command to reload the ban list
|
||||
reload = reload
|
||||
|
||||
[radio]
|
||||
ponyville = http://192.99.131.205:8000/stream.mp3
|
||||
luna = http://radio.ponyvillelive.com:8002/stream
|
||||
@ -82,6 +97,8 @@ too_long = This music is too long, skipping !
|
||||
download_in_progress = Download of %s in progress
|
||||
no_possible = it's not possible to do that
|
||||
removing_item = Removing entry %s from queue
|
||||
user_ban = You are ban, not allowed to do that !
|
||||
url_ban = This url isn't allowed !
|
||||
|
||||
help = Command available:
|
||||
<br />!file [path]
|
||||
@ -90,12 +107,23 @@ help = Command available:
|
||||
<br />!radio [url] - url of a stream
|
||||
<br />!list - display list of available tracks
|
||||
<br />!queue - display items in queue
|
||||
<br />!np - display the current music
|
||||
<br />!skip - jump to the next music of the playlist (of remove the X items if you add a number)
|
||||
<br />!stop - stop and clear the playlist
|
||||
<br />!oust - stop + Go to default channel
|
||||
<br />!v - get or change the volume (in %)
|
||||
<br />!joinme - join your own channel
|
||||
|
||||
admin_help = Admin command:
|
||||
<br />!kill (kill the bot)
|
||||
<br />!update (update the bot)
|
||||
<br />!userban [user] (ban a user)
|
||||
<br />!userunban [user] (unban a user)
|
||||
<br />!urlban [url] (ban an url)
|
||||
<br />!urlunban [url] (unban an url)
|
||||
<br />!reload (reload the ban config)
|
||||
<br />
|
||||
[debug]
|
||||
ffmpeg = False
|
||||
mumbleConnection = False
|
||||
|
||||
|
Reference in New Issue
Block a user