diff --git a/messages/en.json b/messages/en.json index e788ba3..1d2a3d9 100644 --- a/messages/en.json +++ b/messages/en.json @@ -27,7 +27,7 @@ "Don't you mean \u0002{cmd_char}ping\u0002?", "skynet.exe has stopped working. Windows is checking for a solution to the problem...", "No ping received for 1337 seconds.", - "Congratulations! You're the 1337th person to use {cmd_char}ping. You win a goat!", + "Congratulations! You're the 1337th person to use {cmd_char}ping. You win a goat!\n\u0001ACTION \u030ds goat walks by and {goat_action} \u0002{nick}\u0002.\u0001", "PING! {nick}", "I'm sorry Dave, I'm afraid I can't do that.", "Give me a ping, Vasily. One ping only, please.", diff --git a/src/wolfgame.py b/src/wolfgame.py index d95cae6..38bb5da 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -619,7 +619,11 @@ def restart_program(cli, nick, chan, rest): @cmd("ping", pm=True) def pinger(cli, nick, chan, rest): """Check if you or the bot is still connected.""" - reply(cli, nick, chan, random.choice(messages["ping"]).format(nick=nick, bot_nick=botconfig.NICK, cmd_char=botconfig.CMD_CHAR)) + reply(cli, nick, chan, random.choice(messages["ping"]).format( + nick=nick, + bot_nick=botconfig.NICK, + cmd_char=botconfig.CMD_CHAR, + goat_action=random.choice(messages["goat_actions"]))) @cmd("simple", raw_nick=True, pm=True) def mark_simple_notify(cli, nick, chan, rest):