Also human-ify coin bet amounts in a flip

This commit is contained in:
jesopo 2019-03-21 21:09:53 +00:00
parent 2f729eac46
commit 3f8d5e9f50

View file

@ -225,7 +225,7 @@ class Module(ModuleManager.BaseModule):
chosen_side = random.SystemRandom().choice(list(SIDES.keys())) chosen_side = random.SystemRandom().choice(list(SIDES.keys()))
win = side_name == chosen_side win = side_name == chosen_side
coin_bet_str = self._coin_str(coin_bet) coin_bet_str = self._coin_str_human(coin_bet)
if win: if win:
new_total = self._give(event["server"], event["user"], coin_bet) new_total = self._give(event["server"], event["user"], coin_bet)
event["stdout"].write( event["stdout"].write(