1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Changed the range, was rolling 1 too many times

This commit is contained in:
Phxntxm 2016-07-10 08:59:33 -05:00
parent 1e5be0e8c6
commit 0c0e4ea52c

View file

@ -107,7 +107,7 @@ class Core:
await self.bot.say("What die has more than 25 sides? Please, calm down")
return
valueStr = str(random.randint(1,int(num)))
for i in range(0,int(dice)):
for i in range(1,int(dice)):
value = random.randint(1, int(num))
valueStr += ", {}".format(value)