Added times command

This commit is contained in:
mloe 2022-10-20 00:00:15 +02:00
parent 04a0922c17
commit 3227bf3a0f

4
bot.py
View File

@ -32,6 +32,10 @@ async def add(ctx, left: int, right: int):
async def sub(ctx, left: int, right: int):
await ctx.send(left - right)
@bot.command()
async def times(ctx, left: int, right: int):
await ctx.send(left * right)
@bot.command()
async def update(ctx):
subprocess.Popen('./update.sh')