same fix as #117

This commit is contained in:
Azlux 2020-03-31 11:26:29 +02:00
parent 34f38d09e6
commit 0b92d4ccb0

View File

@ -342,7 +342,7 @@ def cmd_play_url(bot, user, text, command, parameter):
var.playlist.append(music_wrapper)
log.info("cmd: add to playlist: " + music_wrapper.format_debug_string())
bot.send_msg(constants.strings('file_added', item=music_wrapper.format_song_string()))
bot.send_channel_msg(constants.strings('file_added', item=music_wrapper.format_song_string()))
if len(var.playlist) == 2:
# If I am the second item on the playlist. (I am the next one!)
bot.async_download_next()