Added times command
This commit is contained in:
parent
04a0922c17
commit
3227bf3a0f
4
bot.py
4
bot.py
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user