Made .coin with no arguments work again

This commit is contained in:
Luke Rogers 2012-09-13 09:05:03 +12:00
parent aef3b7acad
commit fd7a6b2230

View file

@ -9,7 +9,7 @@ def coin(inp, me=None):
try:
amount = int(inp)
except ValueError:
return "Invalid input!"
amount = 1
if amount == 1:
if getrandbits(1):