Show cents in !bank balance in modules/coins.py

This commit is contained in:
jesopo 2018-10-12 16:08:22 +01:00
parent 54ad29cc3a
commit bab555207c

View file

@ -50,8 +50,8 @@ class Module(object):
@utils.hook("received.command.bank")
def bank(self, event):
event["stdout"].write("The Bank has %d coins" %
self._get_pool(event["server"]))
event["stdout"].write("The Bank has %s coins" %
"{0:.2f}".format(self._get_pool(event["server"])))
@utils.hook("received.command.coins")
def coins(self, event):