Show wallet balances in a human format (with ","s)
This commit is contained in:
parent
44f3e241d2
commit
9b2040e280
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ class Module(ModuleManager.BaseModule):
|
|||
(event["user"].nickname, wallet))
|
||||
coins = self._get_user_coins(event["user"], wallet)
|
||||
event["stdout"].write("%s: you have %s coins in your '%s' wallet" %
|
||||
(event["user"].nickname, self._coin_str(coins), wallet))
|
||||
(event["user"].nickname, self._coin_str_human(coins), wallet))
|
||||
|
||||
@utils.hook("received.command.addwallet", authenticated=True, min_args=1)
|
||||
def add_wallet(self, event):
|
||||
|
|
Loading…
Reference in a new issue