diff --git a/messages/en.json b/messages/en.json index 5ed19fa..d014b2f 100644 --- a/messages/en.json +++ b/messages/en.json @@ -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.", diff --git a/src/wolfgame.py b/src/wolfgame.py index 24c0a09..0eced2c 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -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)