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 = Removed all tags from <b>{song}</b>.
|
||||||
cleared_tags_from_all = Removed all tags from songs on the playlist.
|
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.
|
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>
|
help = <h3>Commands</h3>
|
||||||
<b>Control</b>
|
<b>Control</b>
|
||||||
|
@ -333,7 +333,7 @@ class MumbleBot:
|
|||||||
if var.config.get("bot", "when_nobody_in_channel") == "pause_resume":
|
if var.config.get("bot", "when_nobody_in_channel") == "pause_resume":
|
||||||
self.resume()
|
self.resume()
|
||||||
elif var.config.get("bot", "when_nobody_in_channel") == "pause":
|
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:
|
elif len(own_channel.get_users()) == 1:
|
||||||
# if the bot is the only user left in the channel
|
# if the bot is the only user left in the channel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user