bugfix diceroll
This commit is contained in:
parent
7111348d94
commit
63cdb8b84d
|
@ -32,7 +32,7 @@ def roll(bot, trigger):
|
||||||
|
|
||||||
results = []
|
results = []
|
||||||
for _ in range(num_dice):
|
for _ in range(num_dice):
|
||||||
result = random.randint(0, num_sides) + 1
|
result = random.randint(1, num_sides)
|
||||||
results.append(result)
|
results.append(result)
|
||||||
total = sum(results) + modifier
|
total = sum(results) + modifier
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user