mirror of https://github.com/icedream/ts3bot.git
Implement "empty"/"clear" commands.
These commands allow emptying the current playlist. Here another reminder to implement a proper permission system soon!develop
parent
824b4b94bd
commit
4eed972a23
3
app.iced
3
app.iced
|
@ -209,6 +209,9 @@ ts3clientService.on "started", (ts3proc) =>
|
|||
vlc.playlist.next()
|
||||
when "prev", "previous"
|
||||
vlc.playlist.prev()
|
||||
when "empty", "clear"
|
||||
vlc.playlist.clear()
|
||||
ts3query.sendtextmessage args.targetmode, invoker.id, "Cleared the playlist."
|
||||
when "enqueue", "add", "append"
|
||||
inputBB = paramline.trim()
|
||||
input = (removeBB paramline).trim()
|
||||
|
|
Loading…
Reference in New Issue