fix (workout): wait for sleep

This commit is contained in:
2021-09-20 10:08:15 +03:00
parent ad773c95d3
commit 758b0f5a01

View File

@@ -166,7 +166,7 @@ async def workout_complete(member, workout):
async def workout_voice_tracker(client, member, before, after):
# Wait until launch tasks are complete
while not module.ready:
asyncio.sleep(0.1)
await asyncio.sleep(0.1)
if member.bot:
return