From 2acf9bdd3122b16e9c2351e1ce888527a6cfddcb Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 2 Nov 2018 12:47:00 +0000 Subject: Show !coins in a human format (with ","s) --- modules/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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): -- cgit v1.3.1-10-gc9f91