mirror of https://github.com/icedream/ts3bot.git
Playlist display (command "list"/"playlist") can generate too long messages, commenting out for now.
parent
18b7d82964
commit
7966bfb056
2
app.iced
2
app.iced
|
@ -233,6 +233,7 @@ ts3clientService.on "started", (ts3proc) =>
|
|||
when "empty", "clear"
|
||||
vlc.playlist.clear()
|
||||
ts3query.sendtextmessage args.targetmode, invoker.id, "Cleared the playlist."
|
||||
###
|
||||
when "list", "playlist"
|
||||
message = "Currently there are #{vlc.playlist.items.count} tracks are in the playlist"
|
||||
message += if vlc.playlist.items.count > 0 then ":\n" else "."
|
||||
|
@ -244,6 +245,7 @@ ts3clientService.on "started", (ts3proc) =>
|
|||
if vlc.playlist.currentItem == i
|
||||
message += "[/B][/COLOR]"
|
||||
ts3query.sendtextmessage args.targetmode, invoker.id, message
|
||||
###
|
||||
when "enqueue", "add", "append"
|
||||
inputBB = paramline.trim()
|
||||
input = (removeBB paramline).trim()
|
||||
|
|
Loading…
Reference in New Issue