diff options
| author | Hornwitser <[email protected]> | 2018-08-01 15:24:33 +0200 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-11-24 22:17:58 -0500 |
| commit | efb4ff850ea476d2aabc8ab4069a6d52ad602f42 (patch) | |
| tree | 25d705c284c37a15d72f2419e9f6f1010a2f9e08 /discord/voice_client.py | |
| parent | [commands] Remove duplicated quote entries (diff) | |
| download | discord.py-efb4ff850ea476d2aabc8ab4069a6d52ad602f42.tar.xz discord.py-efb4ff850ea476d2aabc8ab4069a6d52ad602f42.zip | |
[lint] Fix import order
Reorder imports to be consistenly grouped by standard library, third
party library, and local modules in that order thoughout the library.
Diffstat (limited to 'discord/voice_client.py')
| -rw-r--r-- | discord/voice_client.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py index 14c54493..54aa6d8a 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -45,7 +45,11 @@ import logging import struct import threading -log = logging.getLogger(__name__) +from . import opus +from .backoff import ExponentialBackoff +from .gateway import * +from .errors import ClientException, ConnectionClosed +from .player import AudioPlayer, AudioSource try: import nacl.secret @@ -53,11 +57,8 @@ try: except ImportError: has_nacl = False -from . import opus -from .backoff import ExponentialBackoff -from .gateway import * -from .errors import ClientException, ConnectionClosed -from .player import AudioPlayer, AudioSource + +log = logging.getLogger(__name__) class VoiceClient: """Represents a Discord voice connection. |