From dbf4fa2d610adaf1ee9237f80382e59f1e719eb6 Mon Sep 17 00:00:00 2001 From: mloe Date: Thu, 20 Oct 2022 10:50:21 +0200 Subject: [PATCH] Added cool command --- bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bot.py b/bot.py index 6f0671a..c3198c0 100644 --- a/bot.py +++ b/bot.py @@ -40,6 +40,10 @@ async def times(ctx, left: int, right: int): async def say(ctx, message): await ctx.send(message) +@bot.command() +async def cool(ctx): + await ctx.send(f'{ctx.author} is cool!') + @bot.command() async def update(ctx): subprocess.Popen('./update.sh')