aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/dice.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/dice.py b/modules/dice.py
index 464d98d1..4a587d72 100644
--- a/modules/dice.py
+++ b/modules/dice.py
@@ -45,3 +45,5 @@ class Module(ModuleManager.BaseModule):
results_str = ", ".join(str(r) for r in results)
event["stdout"].write("Rolled %s and got %s%s" % (
roll, results_str, total))
+ else:
+ event["stderr"].write("Invalid format. Example: 2d12+2")