idiot vidk

This commit is contained in:
blank X 2021-04-23 20:22:22 +07:00
parent 329a8febbf
commit 8a11e76cfb
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ async def listexec(client, message):
@public_log_errors
async def cancelexec(client, message):
try:
task = exec_tasks.get(int(message[1]))
task = exec_tasks.get(int(message.command[1]))
except IndexError:
return
if not task: