aboutsummaryrefslogtreecommitdiff
path: root/discord/state.py
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2018-08-01 15:24:33 +0200
committerRapptz <[email protected]>2018-11-24 22:17:58 -0500
commitefb4ff850ea476d2aabc8ab4069a6d52ad602f42 (patch)
tree25d705c284c37a15d72f2419e9f6f1010a2f9e08 /discord/state.py
parent[commands] Remove duplicated quote entries (diff)
downloaddiscord.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/state.py')
-rw-r--r--discord/state.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/discord/state.py b/discord/state.py
index f6617be6..5d23fe86 100644
--- a/discord/state.py
+++ b/discord/state.py
@@ -24,6 +24,16 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
"""
+import asyncio
+from collections import deque, namedtuple, OrderedDict
+import copy
+import datetime
+import enum
+import itertools
+import logging
+import math
+import weakref
+
from .guild import Guild
from .activity import _ActivityTag
from .user import User, ClientUser
@@ -38,14 +48,6 @@ from .enums import ChannelType, try_enum, Status
from . import utils
from .embeds import Embed
-from collections import deque, namedtuple, OrderedDict
-import copy, enum, math
-import datetime
-import asyncio
-import logging
-import weakref
-import itertools
-
class ListenerType(enum.Enum):
chunk = 0