Added say command

This commit is contained in:
mloe 2022-10-20 01:00:32 +02:00
parent 3227bf3a0f
commit c25e514af2

4
bot.py
View File

@ -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')