aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/dice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dice.py b/modules/dice.py
index 6eed276e..1eb11d51 100644
--- a/modules/dice.py
+++ b/modules/dice.py
@@ -18,7 +18,7 @@ class Module(ModuleManager.BaseModule):
count_n = min(5, int(count))
sides_n = min(20, int(sides))
- results = random.choices(range(1, sides_n), k=count_n)
+ results = random.choices(range(1, sides_n+1), k=count_n)
total_n = sum(results)
total = ""