mirror of https://github.com/icedream/ts3bot.git
While we're on it, fine-tuning the playlist message.
parent
d61d85e020
commit
eb00dc2f87
3
app.iced
3
app.iced
|
@ -213,7 +213,8 @@ ts3clientService.on "started", (ts3proc) =>
|
|||
vlc.playlist.clear()
|
||||
ts3query.sendtextmessage args.targetmode, invoker.id, "Cleared the playlist."
|
||||
when "list", "playlist"
|
||||
message = "Currently these tracks are in the playlist:\n"
|
||||
message = "Currently there are #{vlc.playlist.items.count} tracks are in the playlist"
|
||||
message += if vlc.playlist.items.count > 0 then ":\n" else "."
|
||||
for i in [ 0 ... vlc.playlist.items.count ]
|
||||
if vlc.playlist.currentItem == i
|
||||
message += "[COLOR=green][B]"
|
||||
|
|
Loading…
Reference in New Issue