Round coolness factor
This commit is contained in:
parent
5fc728861f
commit
87e19f1f28
4
bot.py
4
bot.py
|
|
@ -43,8 +43,8 @@ async def say(ctx, message):
|
|||
|
||||
@bot.command()
|
||||
async def cool(ctx):
|
||||
cool_factor = random.uniform(0, 100)
|
||||
await ctx.send(f'{ctx.author} is {cool_factor} cool!')
|
||||
cool_factor = round(random.uniform(0, 100), 2)
|
||||
await ctx.send(f'{ctx.author} is {cool_factor}% cool!')
|
||||
|
||||
@bot.command()
|
||||
async def update(ctx):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user