feat: \!play will set is_pause to False if the queue is empty #77

This commit is contained in:
Terry Geng 2020-02-26 18:10:04 +08:00
parent 7c8c1f9d9a
commit 3e5a48027c

View File

@ -121,6 +121,7 @@ def cmd_play(bot, user, text, command, parameter):
else:
bot.send_msg(util.format_current_playing(), text)
else:
bot.is_pause = False
bot.send_msg(constants.strings('queue_empty'), text)