mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
fucking
This commit is contained in:
parent
33b9df3bb0
commit
630c9391ee
1 changed files with 7 additions and 1 deletions
|
@ -402,7 +402,13 @@ class OtherCog(commands.Cog):
|
|||
done_tasks = done
|
||||
done = done_tasks or pending
|
||||
done = pending or done_tasks
|
||||
try:
|
||||
done = done.pop()
|
||||
except KeyError:
|
||||
return await ctx.respond(
|
||||
"Something went wrong. Try again?\n"
|
||||
f"`DONE:{done}|DONETASKS:{done_tasks}|PENDING:{pending}`"
|
||||
)
|
||||
result = await done
|
||||
if result is not True:
|
||||
return await ctx.edit(
|
||||
|
|
Loading…
Reference in a new issue