diff options
| author | 2018-11-17 12:26:21 +0000 | |
|---|---|---|
| committer | 2018-11-17 12:26:21 +0000 | |
| commit | 0da18aa86dc55a6517e3aee0b318529b247e6526 (patch) | |
| tree | 708b15def64d6b39e27462da1e8c196bd29f6e35 /modules/dice.py | |
| parent | How hard is it to refactor a dice module (diff) | |
| signature | ||
now i see why it was %s not %d
Diffstat (limited to 'modules/dice.py')
| -rw-r--r-- | modules/dice.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/dice.py b/modules/dice.py index 48c0f920..6eed276e 100644 --- a/modules/dice.py +++ b/modules/dice.py @@ -25,5 +25,5 @@ class Module(ModuleManager.BaseModule): if len(results) > 1: total = " (total: %d)" % total_n - event["stdout"].write("Rolled %s and got %d%s" % ( - roll, total_n, ", ".join(str(r) for r in results))) + event["stdout"].write("Rolled %s and got %s%s" % ( + roll, ", ".join(str(r) for r in results), total)) |
