Browse Source

Remove dead package references.

pull/1343/head
Rapptz 7 years ago
parent
commit
c67d95327e
  1. 2
      discord/__init__.py
  2. 2
      discord/abc.py
  3. 2
      discord/client.py
  4. 2
      discord/context_managers.py
  5. 2
      discord/gateway.py
  6. 2
      discord/message.py
  7. 2
      discord/shard.py
  8. 2
      discord/state.py

2
discord/__init__.py

@ -35,7 +35,7 @@ from .colour import Color, Colour
from .invite import Invite
from .object import Object
from .reaction import Reaction
from . import utils, opus, compat, abc
from . import utils, opus, abc
from .enums import *
from collections import namedtuple
from .embeds import Embed

2
discord/abc.py

@ -38,7 +38,7 @@ from .role import Role
from .invite import Invite
from .file import File
from .voice_client import VoiceClient
from . import utils, compat
from . import utils
class _Undefined:
def __repr__(self):

2
discord/client.py

@ -35,7 +35,7 @@ from .activity import _ActivityTag, create_activity
from .voice_client import VoiceClient
from .http import HTTPClient
from .state import ConnectionState
from . import utils, compat
from . import utils
from .backoff import ExponentialBackoff
from .webhook import Webhook

2
discord/context_managers.py

@ -26,8 +26,6 @@ DEALINGS IN THE SOFTWARE.
import asyncio
from .compat import create_task
def _typing_done_callback(fut):
# just retrieve any exception and call it a day
try:

2
discord/gateway.py

@ -29,7 +29,7 @@ import time
import websockets
import asyncio
from . import utils, compat
from . import utils
from .activity import create_activity, _ActivityTag
from .errors import ConnectionClosed, InvalidArgument
import logging

2
discord/message.py

@ -27,7 +27,7 @@ DEALINGS IN THE SOFTWARE.
import asyncio
import re
from . import utils, compat
from . import utils
from .reaction import Reaction
from .emoji import Emoji, PartialEmoji
from .calls import CallMessage

2
discord/shard.py

@ -28,7 +28,7 @@ from .state import AutoShardedConnectionState
from .client import Client
from .gateway import *
from .errors import ClientException, InvalidArgument
from . import compat, utils
from . import utils
from .enums import Status
import asyncio

2
discord/state.py

@ -36,7 +36,7 @@ from .member import Member
from .role import Role
from .enums import ChannelType, try_enum, Status
from .calls import GroupCall
from . import utils, compat
from . import utils
from .embeds import Embed
from collections import deque, namedtuple, OrderedDict

Loading…
Cancel
Save