From e4904c10981a6341e42da0253af16de1dff8c5ae Mon Sep 17 00:00:00 2001 From: mloe Date: Sat, 22 Oct 2022 15:38:29 +0200 Subject: [PATCH] Added coolness factor --- bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index c3198c0..9be915c 100644 --- a/bot.py +++ b/bot.py @@ -1,4 +1,5 @@ from genericpath import exists +from random import random import subprocess import json import discord @@ -42,7 +43,8 @@ async def say(ctx, message): @bot.command() async def cool(ctx): - await ctx.send(f'{ctx.author} is cool!') + cool_factor = random.uniform(0, 100) + await ctx.send(f'{ctx.author} is {cool_factor} cool!') @bot.command() async def update(ctx):