Dateien hochladen nach „“
This commit is contained in:
parent
ff9e1a1f38
commit
04a0922c17
4
bot.py
4
bot.py
|
|
@ -28,6 +28,10 @@ async def on_ready():
|
||||||
async def add(ctx, left: int, right: int):
|
async def add(ctx, left: int, right: int):
|
||||||
await ctx.send(left + right)
|
await ctx.send(left + right)
|
||||||
|
|
||||||
|
@bot.command()
|
||||||
|
async def sub(ctx, left: int, right: int):
|
||||||
|
await ctx.send(left - right)
|
||||||
|
|
||||||
@bot.command()
|
@bot.command()
|
||||||
async def update(ctx):
|
async def update(ctx):
|
||||||
subprocess.Popen('./update.sh')
|
subprocess.Popen('./update.sh')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user