Added say command
This commit is contained in:
parent
3227bf3a0f
commit
c25e514af2
4
bot.py
4
bot.py
|
|
@ -36,6 +36,10 @@ async def sub(ctx, left: int, right: int):
|
||||||
async def times(ctx, left: int, right: int):
|
async def times(ctx, left: int, right: int):
|
||||||
await ctx.send(left * right)
|
await ctx.send(left * right)
|
||||||
|
|
||||||
|
@bot.command()
|
||||||
|
async def say(ctx, message):
|
||||||
|
await ctx.send(message)
|
||||||
|
|
||||||
@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