Made .coin with no arguments work again
This commit is contained in:
parent
aef3b7acad
commit
fd7a6b2230
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ def coin(inp, me=None):
|
||||||
try:
|
try:
|
||||||
amount = int(inp)
|
amount = int(inp)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return "Invalid input!"
|
amount = 1
|
||||||
|
|
||||||
if amount == 1:
|
if amount == 1:
|
||||||
if getrandbits(1):
|
if getrandbits(1):
|
||||||
|
|
Reference in a new issue