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 12:58:53 -05:00
parent 7c4066131c
commit 4e27daafbf

View file

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