TS3AudioBot icon indicating copy to clipboard operation
TS3AudioBot copied to clipboard

!xecute not working

Open PWNYYY opened this issue 3 years ago • 4 comments

hi, i want the same configuration on the newest bot version but so far i know i can only setup the bot by chat commands (why?!) thats extremely annoying...

it should look like this (old config):

[events] #Called when the bot is connected. onconnect = "!xecute (!play https://streams.ilovemusic.de/iloveradio21.mp3) (!loop on) (!bot commander on)"

this is what i get - why does this not work?!

!settings set events.onconnect !xecute (!play https://streams.ilovemusic.de/iloveradio21.mp3) (!loop on) (!bot commander on)

image

PWNYYY avatar Feb 10 '22 00:02 PWNYYY

You need to put the setting value into quotes: !settings set events.onconnect "!xecute (!play https://streams.ilovemusic.de/iloveradio21.mp3) (!loop on) (!bot commander on)"

Flakebi avatar Feb 10 '22 08:02 Flakebi

image

PWNYYY avatar Feb 10 '22 15:02 PWNYYY

manually in chat works fine.. !play https://streams.ilovemusic.de/iloveradio21.mp3

it's so annoying with chat commands -_-

PWNYYY avatar Feb 10 '22 15:02 PWNYYY

Just tried it out and the bot starts playing after it connects. I just noticed that there is only a !repeat command, but no !loop command, so it should be !settings set events.onconnect "!xecute (!play https://streams.ilovemusic.de/iloveradio21.mp3) (!repeat one) (!bot commander on)"

Flakebi avatar Feb 12 '22 08:02 Flakebi