fix(bot): 🚑 Use default asyncio loop instead of uvloop.

This commit is contained in:
Nyeki.py
2024-10-26 00:27:51 -03:00
parent d3ee4cc576
commit aa445fbf63
3 changed files with 11 additions and 11 deletions
+3
View File
@@ -31,6 +31,9 @@ def shard(
bot.heartbeat = heartbeat
try:
# Skip uvloop initialization, it stops tasks from running for some reason.
raise ImportError()
import uvloop # pylint: disable=import-error
bot.loop = uvloop.new_event_loop()