RuntimeWarning: Enable tracemalloc to get the object allocation traceback with asyncio.sleep September 13, 2023 by Tarik asyncio.sleep(delay) Change it to: await asyncio.sleep(delay) asyncio.sleep is a coroutine and should be awaited.