Add an explanatory message for pings after bot restart
Just like when a game is canceled due to taking too long to start, although in this case players may notice that the bot restarted, it doesn't hurt to make it clear to them.
This commit is contained in:
parent
35f12d311e
commit
ecbf32c9ad
@ -143,6 +143,7 @@
|
||||
"account_already_joined": "Sorry, but \u0002{0}\u0002 is already joined under {1} account.{2}",
|
||||
"player_joined": "\u0002{0}\u0002 has joined the game and raised the number of players to \u0002{1}\u0002.",
|
||||
"game_idle_cancel": "The current game took too long to start and has been canceled. If you are still active, you can join again to start a new game.",
|
||||
"game_restart_cancel": "The bot has been restarted and the game has been canceled. If you are still active, you can join again to start a new game.",
|
||||
"too_many_players_to_join": "{0}: Too many players to join.",
|
||||
"fjoin_in_chan": ": You may only fjoin people who are in this channel.",
|
||||
"account_not_logged_in": "{0} is not logged in to NickServ.",
|
||||
|
@ -224,6 +224,7 @@ def connect_callback(cli):
|
||||
if players:
|
||||
msg = "PING! " + break_long_message(players).replace("\n", "\nPING! ")
|
||||
cli.msg(botconfig.CHANNEL, msg)
|
||||
cli.msg(botconfig.CHANNEL, messages["game_restart_cancel"])
|
||||
|
||||
# Unhook the WHO hooks
|
||||
hook.unhook(295)
|
||||
|
Loading…
x
Reference in New Issue
Block a user