Added cool command

This commit is contained in:
mloe 2022-10-20 10:50:21 +02:00
parent 0ba42ef3cb
commit dbf4fa2d61

4
bot.py
View File

@ -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')