From 4a04b1faad40db204e9722fc6d6a8e5bf6785ca7 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 11 Oct 2018 00:24:46 +0100 Subject: [PATCH] 80 cols! --- modules/coins.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/coins.py b/modules/coins.py index 3a7033eb..433fb02d 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -168,16 +168,16 @@ class Module(object): if win: event["user"].set_setting("coins", str(user_coins+coin_bet)) - event["stdout"].write("%s flips %s and wins %s coin%s! (new total: %s)" % ( + event["stdout"].write( + "%s flips %s and wins %s coin%s! (new total: %s)" % ( event["user"].nickname, side_name, coin_bet_str, - "" if coin_bet == 1 else "s", - user_coins+coin_bet)) + "" if coin_bet == 1 else "s", user_coins+coin_bet)) else: event["user"].set_setting("coins", str(user_coins-coin_bet)) - event["stdout"].write("%s flips %s and loses %s coin%s! (new total: %s)" % ( + event["stdout"].write( + "%s flips %s and loses %s coin%s! (new total: %s)" % ( event["user"].nickname, side_name, coin_bet_str, - "" if coin_bet == 1 else "s", - user_coins-coin_bet)) + "" if coin_bet == 1 else "s", user_coins-coin_bet)) @utils.hook("received.command.sendcoins", min_args=2, authenticated=True) def send(self, event):