Typo in modules/coins.py, 'nickanme' -> 'nickname'

This commit is contained in:
jesopo 2018-10-20 19:08:46 +01:00
parent 7a94c1efff
commit 90c730979a

View file

@ -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: