Remove unused ChannelPermissions namedtuple.

This commit is contained in:
Rapptz 2017-01-25 05:58:06 -05:00
parent c80cbf1931
commit 62f43889c0
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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.