This commit is contained in:
Slipstream 2025-05-06 14:29:20 -06:00
parent 8901b275c4
commit 1cb4f0c01f
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -1,3 +1,8 @@
import asyncio
# Set the event loop policy to the default asyncio policy BEFORE other asyncio/discord imports
# This is to test if uvloop (if active globally) is causing issues with asyncpg.
asyncio.set_event_loop_policy(asyncio.DefaultEventLoopPolicy())
import threading import threading
import discord import discord
from discord.ext import commands from discord.ext import commands