From 4e6f2cc45239d46e55b012fd04b536c859410d87 Mon Sep 17 00:00:00 2001 From: xnrand Date: Sat, 26 Apr 2014 03:11:04 +0200 Subject: [PATCH] Make !goat goatier In the light of recent events in video games (goat simulator), the goat needs to be made more goaty. --- modules/wolfgame.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index eda1801..4549812 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -1163,10 +1163,12 @@ def goat(cli, nick, chan, rest): pm(cli, nick,"\u0002{0}\u0002 is not in this channel.".format(rest)) return victim = ul[ull.index(victim)] + goatact = random.choice(["kicks", "headbutts"]) cli.msg(botconfig.CHANNEL, ("\u0002{0}\u0002's goat walks by "+ - "and kicks \u0002{1}\u0002.").format(nick, - victim)) - var.LOGGER.logMessage("{0}'s goat walks by and kicks {1}.".format(nick, victim)) + "and {1} \u0002{2}\u0002.").format(nick, + goatact, victim)) + var.LOGGER.logMessage("{0}'s goat walks by and {1} {2}.".format(nick, goatact + victim)) var.GOATED = True