Changed the range, was rolling 1 too many times
This commit is contained in:
parent
1e5be0e8c6
commit
0c0e4ea52c
|
@ -107,7 +107,7 @@ class Core:
|
||||||
await self.bot.say("What die has more than 25 sides? Please, calm down")
|
await self.bot.say("What die has more than 25 sides? Please, calm down")
|
||||||
return
|
return
|
||||||
valueStr = str(random.randint(1,int(num)))
|
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))
|
value = random.randint(1, int(num))
|
||||||
valueStr += ", {}".format(value)
|
valueStr += ", {}".format(value)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue