mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +01:00
mayhaps?
This commit is contained in:
parent
e5d09ac385
commit
33b9df3bb0
1 changed files with 3 additions and 1 deletions
|
@ -399,7 +399,9 @@ class OtherCog(commands.Cog):
|
||||||
],
|
],
|
||||||
return_when=asyncio.FIRST_COMPLETED,
|
return_when=asyncio.FIRST_COMPLETED,
|
||||||
)
|
)
|
||||||
done = done or pending
|
done_tasks = done
|
||||||
|
done = done_tasks or pending
|
||||||
|
done = pending or done_tasks
|
||||||
done = done.pop()
|
done = done.pop()
|
||||||
result = await done
|
result = await done
|
||||||
if result is not True:
|
if result is not True:
|
||||||
|
|
Loading…
Reference in a new issue