From c25e514af24bb4348f5217b831908dd102f006e8 Mon Sep 17 00:00:00 2001 From: mloe Date: Thu, 20 Oct 2022 01:00:32 +0200 Subject: [PATCH] Added say command --- bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bot.py b/bot.py index 7226912..6f0671a 100644 --- a/bot.py +++ b/bot.py @@ -36,6 +36,10 @@ async def sub(ctx, left: int, right: int): async def times(ctx, left: int, right: int): await ctx.send(left * right) +@bot.command() +async def say(ctx, message): + await ctx.send(message) + @bot.command() async def update(ctx): subprocess.Popen('./update.sh')