aboutsummaryrefslogtreecommitdiff
path: root/modules/dice.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-17 12:25:14 +0000
committerGravatar jesopo2018-11-17 12:25:14 +0000
commit9054ee7cd248bf96169238e74db028895126d986 (patch)
treeb1d1ad4f5ca3191df5982c664546f71f5ba31a26 /modules/dice.py
parentints are not strings (diff)
signature
How hard is it to refactor a dice module
Diffstat (limited to 'modules/dice.py')
-rw-r--r--modules/dice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dice.py b/modules/dice.py
index a3456c82..48c0f920 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 %s%s" % (
+ event["stdout"].write("Rolled %s and got %d%s" % (
roll, total_n, ", ".join(str(r) for r in results)))