bugfix diceroll
This commit is contained in:
parent
7111348d94
commit
63cdb8b84d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user