Show !coins in a human format (with ","s)
This commit is contained in:
parent
5b27ccb551
commit
2acf9bdd31
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue