a
This commit is contained in:
parent
8901b275c4
commit
1cb4f0c01f
5
main.py
5
main.py
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user