1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Printed the amount of sides of the die

This commit is contained in:
Phxntxm 2016-07-11 13:13:25 -05:00
parent 4e27daafbf
commit 209631a2dd

View file

@ -114,10 +114,10 @@ class Core:
valueStr += ", {}".format(value)
if int(dice) == 1:
fmt = '{0.message.author.name} has rolled a {1} sided die and got the number {3}!'
fmt = '{0.message.author.name} has rolled a {2} sided die and got the number {3}!'
else:
fmt = '{0.message.author.name} has rolled {1}, {2} sided dice and got the numbers {3}!'
await self.bot.say(fmt.format(ctx, num, dice, valueStr))
await self.bot.say(fmt.format(ctx, dice, num, valueStr))
def setup(bot):