From 1ec60fe99b1673741ca49b2bb969b9c33dc9bcd2 Mon Sep 17 00:00:00 2001 From: Janik Kleinhoff Date: Sun, 26 Oct 2014 02:19:39 +0100 Subject: [PATCH] !fwait: improve message a little --- modules/wolfgame.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index e23c78a..93edab3 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -5204,8 +5204,9 @@ def fwait(cli, nick, chann_, rest): else: var.CAN_START_TIME += timedelta(seconds=extra) var.WAITED += 1 - cli.msg(chan, ("\u0002{0}\u0002 forcibly increased the wait time by "+ - "{1} seconds.").format(nick, extra)) + cli.msg(chan, ("\u0002{0}\u0002 forcibly {2}creased the wait time by "+ + "{1} second{3}.").format(nick, abs(extra), + ("in" if extra >= 0 else "de"), ("s" if extra != 1 else "")) @cmd("fstop",admin_only=True)