1
0
Fork 0
mirror of synced 2024-06-18 02:24:32 +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") await self.bot.say("What die has more than 100 sides? Please, calm down")
return return
#valueStr = str(random.randint(1, num)) #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)): #for i in range(1, int(dice)):
#value = random.randint(1, num) #value = random.randint(1, num)
#valueStr += ", {}".format(value) #valueStr += ", {}".format(value)