1
0
Fork 0
mirror of synced 2024-06-02 18:54:33 +12:00

Changed limit of the side of dice to 100 instead of 25

This commit is contained in:
Phxntxm 2016-07-11 12:56:43 -05:00
parent e44909a049
commit 7c4066131c

View file

@ -105,8 +105,8 @@ class Core:
if int(dice) > 10: if int(dice) > 10:
await self.bot.say("I'm not rolling more than 10 dice, I have tiny hands") await self.bot.say("I'm not rolling more than 10 dice, I have tiny hands")
return return
if int(num) > 25: if int(num) > 100:
await self.bot.say("What die has more than 25 sides? Please, calm down") await self.bot.say("What die has more than 100 sides? Please, calm down")
return return
valueStr = str(random.randint(1, int(num))) valueStr = str(random.randint(1, int(num)))
for i in range(1, int(dice)): for i in range(1, int(dice)):