Only accept the context on command completion
This commit is contained in:
parent
16b9dc36c7
commit
b99318f51b
2
bot.py
2
bot.py
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue