aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-17 12:26:21 +0000
committerGravatar jesopo2018-11-17 12:26:21 +0000
commit0da18aa86dc55a6517e3aee0b318529b247e6526 (patch)
tree708b15def64d6b39e27462da1e8c196bd29f6e35
parentHow hard is it to refactor a dice module (diff)
signature
now i see why it was %s not %d
-rw-r--r--modules/dice.py4
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))