1
0
Fork 0
mirror of synced 2024-05-27 07:49:42 +12:00

Corrected syntax error

This commit is contained in:
Phxntxm 2016-07-14 10:15:36 -05:00
parent 28d5ce3078
commit aec61b5c6e

View file

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