From c1e5fd9a52c4ed3ee3e823accba1ce0460e369e6 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 17 Oct 2018 19:39:43 +0100 Subject: [PATCH] Coin amount is the second arg to !givecoins --- modules/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/coins.py b/modules/coins.py index 8f22df12..004dc6b6 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -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)))