diff options
| author | Rapptz <[email protected]> | 2020-04-07 21:53:55 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-07-25 09:59:38 -0400 |
| commit | b8154e365ff584438a8d42354e56881e550bb72e (patch) | |
| tree | 799c9bb73c25731a87cb12c04a35b420260f8970 /discord/ext | |
| parent | Fix AttributeError on reconnection (diff) | |
| download | discord.py-b8154e365ff584438a8d42354e56881e550bb72e.tar.xz discord.py-b8154e365ff584438a8d42354e56881e550bb72e.zip | |
Rewrite gateway to use aiohttp instead of websockets
Diffstat (limited to 'discord/ext')
| -rw-r--r-- | discord/ext/tasks/__init__.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/discord/ext/tasks/__init__.py b/discord/ext/tasks/__init__.py index 3fa1cb01..7921b095 100644 --- a/discord/ext/tasks/__init__.py +++ b/discord/ext/tasks/__init__.py @@ -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 |