From 92bf49a4c42abcc33eda7c1380c6fbe944ae14d3 Mon Sep 17 00:00:00 2001 From: moneromooo Date: Tue, 20 Jan 2015 14:56:41 +0000 Subject: [PATCH] RainActive: aesthetic message fixes --- tipbot/modules/tipping.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tipbot/modules/tipping.py b/tipbot/modules/tipping.py index 22e4dcc..132ebe5 100644 --- a/tipbot/modules/tipping.py +++ b/tipbot/modules/tipping.py @@ -284,8 +284,8 @@ def RainActive(link,cmd): return pipe.execute() - log_info("%s rained %s - %s (total %s, acc %s) on the %d nicks active in the last %s hours" % (identity, AmountToString(minu), AmountToString(maxu), AmountToString(units), AmountToString(rained_units), nnicks, TimeToString(seconds))) - link.send("%s rained %s - %s on the %d nicks active in the last %s hours" % (identity, AmountToString(minu), AmountToString(maxu), nnicks, TimeToString(seconds))) + log_info("%s rained %s - %s (total %s, acc %s) on the %d nicks active in the last %s" % (identity, AmountToString(minu), AmountToString(maxu), AmountToString(units), AmountToString(rained_units), nnicks, TimeToString(seconds))) + link.send("%s rained %s - %s on the %d nicks active in the last %s" % (link.user.nick, AmountToString(minu), AmountToString(maxu), nnicks, TimeToString(seconds))) except Exception,e: log_error('Rain: exception: %s' % str(e))