mirror of https://github.com/icedream/ts3bot.git
Respond to "current" command properly, not just via channel chat.
parent
7160acee75
commit
d1fe5f4d36
2
app.iced
2
app.iced
|
@ -191,7 +191,7 @@ ts3clientService.on "started", (ts3proc) =>
|
|||
info = vlcMediaInfo[item.mrl]
|
||||
url = info?.originalUrl or item.mrl
|
||||
title = info?.title or item.mrl
|
||||
ts3query?.sendtextmessage 2, 0, "Currently playing [URL=#{url}]#{title}[/URL]."
|
||||
ts3query?.sendtextmessage args.targetmode, invoker.id, "Currently playing [URL=#{url}]#{title}[/URL]."
|
||||
|
||||
# Restore audio volume
|
||||
vlc.audio.volume = vlcVolume
|
||||
|
|
Loading…
Reference in New Issue