You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.9 KiB
67 lines
1.9 KiB
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
Discord API Wrapper
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
A basic wrapper for the Discord API.
|
|
|
|
:copyright: (c) 2015-present Rapptz
|
|
:license: MIT, see LICENSE for more details.
|
|
|
|
"""
|
|
|
|
__title__ = 'discord'
|
|
__author__ = 'Rapptz'
|
|
__license__ = 'MIT'
|
|
__copyright__ = 'Copyright 2015-present Rapptz'
|
|
__version__ = '1.6.0'
|
|
|
|
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
|
|
|
from collections import namedtuple
|
|
import logging
|
|
|
|
from .client import Client
|
|
from .appinfo import AppInfo
|
|
from .user import User, ClientUser, Profile
|
|
from .emoji import Emoji
|
|
from .partial_emoji import PartialEmoji
|
|
from .activity import *
|
|
from .channel import *
|
|
from .guild import Guild
|
|
from .flags import *
|
|
from .relationship import Relationship
|
|
from .member import Member, VoiceState
|
|
from .message import *
|
|
from .asset import Asset
|
|
from .errors import *
|
|
from .calls import CallMessage, GroupCall
|
|
from .permissions import Permissions, PermissionOverwrite
|
|
from .role import Role, RoleTags
|
|
from .file import File
|
|
from .colour import Color, Colour
|
|
from .integrations import Integration, IntegrationAccount
|
|
from .invite import Invite, PartialInviteChannel, PartialInviteGuild
|
|
from .template import Template
|
|
from .widget import Widget, WidgetMember, WidgetChannel
|
|
from .object import Object
|
|
from .reaction import Reaction
|
|
from . import utils, opus, abc
|
|
from .enums import *
|
|
from .embeds import Embed
|
|
from .mentions import AllowedMentions
|
|
from .shard import AutoShardedClient, ShardInfo
|
|
from .player import *
|
|
from .webhook import *
|
|
from .voice_client import VoiceClient, VoiceProtocol
|
|
from .audit_logs import AuditLogChanges, AuditLogEntry, AuditLogDiff
|
|
from .raw_models import *
|
|
from .team import *
|
|
from .sticker import Sticker
|
|
|
|
VersionInfo = namedtuple('VersionInfo', 'major minor micro releaselevel serial')
|
|
|
|
version_info = VersionInfo(major=1, minor=6, micro=0, releaselevel='final', serial=0)
|
|
|
|
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
|
|