From 63cdb8b84d0ef63ca1baf00fecc3f9ca6f076fdf Mon Sep 17 00:00:00 2001 From: iou1name Date: Sat, 1 Feb 2020 19:36:26 -0500 Subject: [PATCH] bugfix diceroll --- modules/dice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dice.py b/modules/dice.py index a6cca7c..d290892 100755 --- a/modules/dice.py +++ b/modules/dice.py @@ -32,7 +32,7 @@ def roll(bot, trigger): results = [] for _ in range(num_dice): - result = random.randint(0, num_sides) + 1 + result = random.randint(1, num_sides) results.append(result) total = sum(results) + modifier