Left over from various refactoring and rewrites.
@ -28,8 +28,6 @@ import discord
import argparse
import sys
from pathlib import Path
import os
import re
def core(parser, args):
pass
@ -24,7 +24,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
"""
import asyncio
from collections import namedtuple
from . import utils
@ -33,7 +33,7 @@ import sys
import traceback
from .core import GroupMixin, Command, command
from .core import GroupMixin, Command
from .view import StringView
from .context import Context
from .errors import CommandNotFound, CommandError
@ -23,7 +23,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
import discord.abc
import discord.utils
@ -25,12 +25,10 @@ DEALINGS IN THE SOFTWARE.
import discord
import inspect
from .errors import BadArgument, NoPrivateMessage
__all__ = [ 'Converter', 'MemberConverter', 'UserConverter',
'TextChannelConverter', 'InviteConverter', 'RoleConverter',
@ -26,7 +26,6 @@ DEALINGS IN THE SOFTWARE.
import itertools
from .errors import CommandError
@ -30,7 +30,7 @@ import websockets
from .activity import create_activity, _ActivityTag
from .activity import _ActivityTag
from .errors import ConnectionClosed, InvalidArgument
import logging
import zlib, json
@ -30,7 +30,6 @@ import json
import weakref
import datetime
from urllib.parse import quote as _uriquote
log = logging.getLogger(__name__)
@ -24,8 +24,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
from .utils import parse_time
from .mixins import Hashable
from .object import Object
import copy
@ -32,7 +32,7 @@ from .reaction import Reaction
from .emoji import Emoji, PartialEmoji
from .calls import CallMessage
from .enums import MessageType, try_enum
from .errors import InvalidArgument, ClientException, HTTPException, NotFound
from .errors import InvalidArgument, ClientException
from .embeds import Embed
class Attachment:
@ -26,8 +26,6 @@ DEALINGS IN THE SOFTWARE.
from .enums import RelationshipType, try_enum
class Relationship:
"""Represents a relationship in Discord.
from .permissions import Permissions
from .errors import InvalidArgument
from .colour import Colour
@ -35,7 +35,6 @@ from .raw_models import *
from .member import Member
from .role import Role
from .enums import ChannelType, try_enum, Status
from .calls import GroupCall
@ -31,7 +31,6 @@ from .errors import ClientException, InvalidArgument
VALID_STATIC_FORMATS = {"jpeg", "jpg", "webp", "png"}
VALID_AVATAR_FORMATS = VALID_STATIC_FORMATS | {"gif"}