Rewrite gateway to use aiohttp instead of websockets
This commit is contained in:
1 parent
45cb231161
commit
b8154e365f
8 files changed
+97
-92
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user