aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-02 12:47:00 +0000
committerGravatar jesopo2018-11-02 12:47:00 +0000
commit2acf9bdd3122b16e9c2351e1ce888527a6cfddcb (patch)
tree3256fb0249f96141430d9b7c7377d0d92b889012
parentAdd src/__init__.py to allow mypy to see src/ as a module (diff)
signature
Show !coins in a human format (with ","s)
-rw-r--r--modules/coins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/coins.py b/modules/coins.py
index eaca4b32..d88c1b44 100644
--- a/modules/coins.py
+++ b/modules/coins.py
@@ -217,7 +217,7 @@ class Module(ModuleManager.BaseModule):
target = event["user"]
coins = self._get_all_user_coins(target)
event["stdout"].write("%s has %s coin%s" % (target.nickname,
- self._coin_str(coins), "" if coins == 1 else "s"))
+ self._coin_str_human(coins), "" if coins == 1 else "s"))
@utils.hook("received.command.wallet")
def wallet(self, event):