Rewrite gateway to use aiohttp instead of websockets

This commit is contained in:
Rapptz committed 2020-07-25 09:59:38 -04:00
1 parent 45cb231161
commit b8154e365f
8 files changed
+97 -92

No files matched your search

-3
View File
@@ -27,7 +27,6 @@ DEALINGS IN THE SOFTWARE.
import asyncio
import datetime
import aiohttp
import websockets
import discord
import inspect
import logging
@@ -58,8 +57,6 @@ class Loop:
discord.ConnectionClosed,
aiohttp.ClientError,
asyncio.TimeoutError,
websockets.InvalidHandshake,
websockets.WebSocketProtocolError,
)
self._before_loop = None