Printed the amount of sides of the die
This commit is contained in:
parent
7c4066131c
commit
4e27daafbf
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue