1
0
Fork 0
mirror of synced 2024-05-17 19:12:33 +12:00

Only accept the context on command completion

This commit is contained in:
phxntxm 2017-03-07 17:26:13 -06:00
parent 16b9dc36c7
commit b99318f51b

2
bot.py
View file

@ -38,7 +38,7 @@ async def on_message(message):
@bot.event
async def on_command_completion(command, ctx):
async def on_command_completion(ctx):
# There's no reason to continue waiting for this to complete, so lets immediately launch this in a new future
bot.loop.create_task(process_command(ctx))