From a63c49ca4a6aa4b32860111cdced799e173bcb63 Mon Sep 17 00:00:00 2001 From: Melissa Draper Date: Wed, 29 May 2013 22:37:46 +1200 Subject: [PATCH] Add phase (day/night) to the roles stats line --- modules/wolfgame.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index c9b1735..eb88ed9 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -554,10 +554,11 @@ def stats(cli, nick, chan, rest): message.append("\u0002{0}\u0002 {1}".format(count if count else "\u0002no\u0002", var.plural(role))) else: message.append("\u0002{0}\u0002 {1}".format(count, role)) - stats_mssg = "{0}: There {3} {1}, and {2}.".format(nick, + stats_mssg = "{0}: It is currently {4}. There {3} {1}, and {2}.".format(nick, ", ".join(message[0:-1]), message[-1], - vb) + vb, + var.PHASE) if nick in pl or var.PHASE == "join": cli.msg(chan, stats_mssg) var.LOGGER.logMessage(stats_mssg.replace("\02", ""))