Coin amount is the second arg to !givecoins
This commit is contained in:
parent
4796d4264c
commit
c1e5fd9a52
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ class Module(ModuleManager.BaseModule):
|
|||
"""
|
||||
target = event["server"].get_user(event["args_split"][0])
|
||||
try:
|
||||
coins = self._parse_coins(event["args_split"][0], DECIMAL_ZERO)
|
||||
coins = self._parse_coins(event["args_split"][1], DECIMAL_ZERO)
|
||||
except CoinParseException as e:
|
||||
raise utils.EventError("%s: %s" % (event["user"].nickname, str(e)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue