We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca611c0 commit b79bc26Copy full SHA for b79bc26
discord/http.py
@@ -175,6 +175,7 @@ def __init__(
175
self.loop: asyncio.AbstractEventLoop = (
176
asyncio.new_event_loop() if loop is None else loop
177
)
178
+ asyncio.set_event_loop(self.loop)
179
self.connector = connector
180
self.__session: aiohttp.ClientSession = MISSING # filled in static_login
181
self._locks: weakref.WeakValueDictionary = weakref.WeakValueDictionary()
0 commit comments