mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +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_tasks = done
|
||||||
done = done_tasks or pending
|
done = done_tasks or pending
|
||||||
done = pending or done_tasks
|
done = pending or done_tasks
|
||||||
done = done.pop()
|
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
|
result = await done
|
||||||
if result is not True:
|
if result is not True:
|
||||||
return await ctx.edit(
|
return await ctx.edit(
|
||||||
|
|
Loading…
Reference in a new issue