aboutsummaryrefslogtreecommitdiff
path: root/discord/gateway.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/gateway.py')
-rw-r--r--discord/gateway.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/discord/gateway.py b/discord/gateway.py
index a8c8ee24..35d92fe6 100644
--- a/discord/gateway.py
+++ b/discord/gateway.py
@@ -24,19 +24,21 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
"""
+import asyncio
+from collections import namedtuple
+import json
+import logging
+import struct
import sys
import time
+import threading
+import zlib
+
import websockets
-import asyncio
from . import utils
from .activity import _ActivityTag
from .errors import ConnectionClosed, InvalidArgument
-import logging
-import zlib, json
-from collections import namedtuple
-import threading
-import struct
log = logging.getLogger(__name__)