This commit is contained in:
nexy7574 2023-05-11 18:04:53 +01:00
parent 3d8040a7bc
commit 9559f40dca

View file

@ -1398,10 +1398,10 @@ class OtherCog(commands.Cog):
while True: while True:
await asyncio.sleep(5.5) await asyncio.sleep(5.5)
await _msg.edit( await _msg.edit(
content=f"Converting text to MP3... ({time.time() - start_time:.1f} seconds elapsed)" content=f"Converting text to MP3... ({time() - start_time:.1f} seconds elapsed)"
) )
start_time = time.time() start_time = time()
task = _bot.loop.create_task(assurance_task()) task = _bot.loop.create_task(assurance_task())
try: try:
mp3, size = await asyncio.wait_for( mp3, size = await asyncio.wait_for(