Remove unused ChannelPermissions namedtuple.
This commit is contained in:
parent
c80cbf1931
commit
62f43889c0
@ -17,7 +17,7 @@ __license__ = 'MIT'
|
|||||||
__copyright__ = 'Copyright 2015-2017 Rapptz'
|
__copyright__ = 'Copyright 2015-2017 Rapptz'
|
||||||
__version__ = '1.0.0a0'
|
__version__ = '1.0.0a0'
|
||||||
|
|
||||||
from .client import Client, AppInfo, ChannelPermissions
|
from .client import Client, AppInfo
|
||||||
from .user import User, ClientUser, Profile
|
from .user import User, ClientUser, Profile
|
||||||
from .game import Game
|
from .game import Game
|
||||||
from .emoji import Emoji, PartialEmoji
|
from .emoji import Emoji, PartialEmoji
|
||||||
|
@ -66,9 +66,6 @@ class WaitForType(enum.Enum):
|
|||||||
message = 0
|
message = 0
|
||||||
reaction = 1
|
reaction = 1
|
||||||
|
|
||||||
ChannelPermissions = namedtuple('ChannelPermissions', 'target overwrite')
|
|
||||||
ChannelPermissions.__new__.__defaults__ = (PermissionOverwrite(),)
|
|
||||||
|
|
||||||
class Client:
|
class Client:
|
||||||
"""Represents a client connection that connects to Discord.
|
"""Represents a client connection that connects to Discord.
|
||||||
This class is used to interact with the Discord WebSocket and API.
|
This class is used to interact with the Discord WebSocket and API.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user