feat: oust will clear the playlist in one-shot mode
This commit is contained in:
parent
dc5a112fa9
commit
a750eeeab6
@ -595,6 +595,9 @@ def cmd_stop_and_getout(bot, user, text, command, parameter):
|
|||||||
global log
|
global log
|
||||||
|
|
||||||
bot.stop()
|
bot.stop()
|
||||||
|
if var.playlist.mode == "one-shot":
|
||||||
|
var.playlist.clear()
|
||||||
|
|
||||||
if bot.channel:
|
if bot.channel:
|
||||||
bot.mumble.channels.find_by_name(bot.channel).move_in()
|
bot.mumble.channels.find_by_name(bot.channel).move_in()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user