fix: move message string to config file
This commit is contained in:
parent
1732314304
commit
bbe208d162
@ -253,6 +253,7 @@ removed_tags_from_all = Removed tags <i>{tags}</i> from songs on the playlist.
|
||||
cleared_tags = Removed all tags from <b>{song}</b>.
|
||||
cleared_tags_from_all = Removed all tags from songs on the playlist.
|
||||
shortlist_instruction = Use <i>!sl {indexes}</i> to play the item you want.
|
||||
auto_paused = Use <i>!play</i> to resume music!
|
||||
|
||||
help = <h3>Commands</h3>
|
||||
<b>Control</b>
|
||||
|
@ -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.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user