feat: \!play will set is_pause to False if the queue is empty #77
This commit is contained in:
parent
7c8c1f9d9a
commit
3e5a48027c
@ -121,6 +121,7 @@ def cmd_play(bot, user, text, command, parameter):
|
|||||||
else:
|
else:
|
||||||
bot.send_msg(util.format_current_playing(), text)
|
bot.send_msg(util.format_current_playing(), text)
|
||||||
else:
|
else:
|
||||||
|
bot.is_pause = False
|
||||||
bot.send_msg(constants.strings('queue_empty'), text)
|
bot.send_msg(constants.strings('queue_empty'), text)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user