diff --git a/configuration.default.ini b/configuration.default.ini index 2094944..1478d03 100644 --- a/configuration.default.ini +++ b/configuration.default.ini @@ -253,6 +253,7 @@ removed_tags_from_all = Removed tags {tags} from songs on the playlist. cleared_tags = Removed all tags from {song}. cleared_tags_from_all = Removed all tags from songs on the playlist. shortlist_instruction = Use !sl {indexes} to play the item you want. +auto_paused = Use !play to resume music! help =

Commands

Control diff --git a/mumbleBot.py b/mumbleBot.py index 81a456b..f58c208 100644 --- a/mumbleBot.py +++ b/mumbleBot.py @@ -333,8 +333,8 @@ class MumbleBot: if var.config.get("bot", "when_nobody_in_channel") == "pause_resume": self.resume() elif var.config.get("bot", "when_nobody_in_channel") == "pause": - self.send_msg('Music was paused after everyone left. !play to resume'); - + self.send_msg(constants.strings("auto_paused")) + elif len(own_channel.get_users()) == 1: # if the bot is the only user left in the channel self.log.info('bot: Other users in the channel left. Stopping music now.')