Added cool command
This commit is contained in:
parent
0ba42ef3cb
commit
dbf4fa2d61
4
bot.py
4
bot.py
|
|
@ -40,6 +40,10 @@ async def times(ctx, left: int, right: int):
|
||||||
async def say(ctx, message):
|
async def say(ctx, message):
|
||||||
await ctx.send(message)
|
await ctx.send(message)
|
||||||
|
|
||||||
|
@bot.command()
|
||||||
|
async def cool(ctx):
|
||||||
|
await ctx.send(f'{ctx.author} is cool!')
|
||||||
|
|
||||||
@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