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"
|
when "empty", "clear"
|
||||||
vlc.playlist.clear()
|
vlc.playlist.clear()
|
||||||
ts3query.sendtextmessage args.targetmode, invoker.id, "Cleared the playlist."
|
ts3query.sendtextmessage args.targetmode, invoker.id, "Cleared the playlist."
|
||||||
|
###
|
||||||
when "list", "playlist"
|
when "list", "playlist"
|
||||||
message = "Currently there are #{vlc.playlist.items.count} tracks are in the playlist"
|
message = "Currently there are #{vlc.playlist.items.count} tracks are in the playlist"
|
||||||
message += if vlc.playlist.items.count > 0 then ":\n" else "."
|
message += if vlc.playlist.items.count > 0 then ":\n" else "."
|
||||||
|
@ -244,6 +245,7 @@ ts3clientService.on "started", (ts3proc) =>
|
||||||
if vlc.playlist.currentItem == i
|
if vlc.playlist.currentItem == i
|
||||||
message += "[/B][/COLOR]"
|
message += "[/B][/COLOR]"
|
||||||
ts3query.sendtextmessage args.targetmode, invoker.id, message
|
ts3query.sendtextmessage args.targetmode, invoker.id, message
|
||||||
|
###
|
||||||
when "enqueue", "add", "append"
|
when "enqueue", "add", "append"
|
||||||
inputBB = paramline.trim()
|
inputBB = paramline.trim()
|
||||||
input = (removeBB paramline).trim()
|
input = (removeBB paramline).trim()
|
||||||
|
|
Loading…
Reference in New Issue