1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Corrected syntax error

This commit is contained in:
Phxntxm 2017-03-05 20:50:51 -06:00
parent 5f00739f5f
commit 4f3c05486a

View file

@ -343,7 +343,7 @@ class Core:
await self.bot.say("A {} sided die? You know that's impossible right?".format(num)) await self.bot.say("A {} sided die? You know that's impossible right?".format(num))
return return
nums = [random.SystemRandom().randint(1, num)) for i in range(0, int(dice)] nums = [random.SystemRandom().randint(1, num)) for i in range(0, int(dice))]
total = sum(nums) total = sum(nums)
value_str = ", ".join("{}".format(x) for x in nums) value_str = ", ".join("{}".format(x) for x in nums)