Typo in modules/coins.py, 'nickanme' -> 'nickname'
This commit is contained in:
parent
7a94c1efff
commit
90c730979a
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ class Module(ModuleManager.BaseModule):
|
|||
bet_amounts = [amount.lower() for amount in event["args_split"][1:]]
|
||||
if len(bet_amounts) < len(bets):
|
||||
raise utils.EventError("%s: Please provide an amount for each bet" %
|
||||
event["user"].nickanme)
|
||||
event["user"].nickname)
|
||||
if len(bet_amounts) == 1 and bet_amounts[0] == "all":
|
||||
bet_amounts[0] = self._get_user_coins(event["user"], wallet_in)
|
||||
if bet_amounts[0] <= DECIMAL_ZERO:
|
||||
|
|
Loading…
Reference in a new issue