aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-09 12:29:51 +0100
committerGravatar jesopo2018-08-09 12:29:51 +0100
commit7c1fce17cd9b2aebd5a76f62c789ffd685846874 (patch)
tree8eefae4fdc665575b432e4eb150141d4c46b1709 /modules
parentAdded coins.py (diff)
signature
Remove print in coins.py, fixed grammar a little
Diffstat (limited to 'modules')
-rw-r--r--modules/coins.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/coins.py b/modules/coins.py
index ca98448c..63ee961c 100644
--- a/modules/coins.py
+++ b/modules/coins.py
@@ -55,12 +55,10 @@ class Module(object):
chosen_side = random.choice(list(SIDES.keys()))
win = side_name == chosen_side
- print(chosen_side)
- print(side_name)
if win:
event["user"].set_setting("coins", user_coins+coin_bet)
- event["stdout"].write("%s flipped %s and wins %d!" % (
+ event["stdout"].write("%s flips %s and wins %d!" % (
event["user"].nickname, side_name, coin_bet))
else:
event["user"].set_setting("coins", user_coins-coin_bet)