mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 08:35:53 +00:00
Rewrite gateway to use aiohttp instead of websockets
This commit is contained in:
@ -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