Browse Source

Remove unused ChannelPermissions namedtuple.

pull/468/head
Rapptz 8 years ago
parent
commit
62f43889c0
  1. 2
      discord/__init__.py
  2. 3
      discord/client.py

2
discord/__init__.py

@ -17,7 +17,7 @@ __license__ = 'MIT'
__copyright__ = 'Copyright 2015-2017 Rapptz'
__version__ = '1.0.0a0'
from .client import Client, AppInfo, ChannelPermissions
from .client import Client, AppInfo
from .user import User, ClientUser, Profile
from .game import Game
from .emoji import Emoji, PartialEmoji

3
discord/client.py

@ -66,9 +66,6 @@ class WaitForType(enum.Enum):
message = 0
reaction = 1
ChannelPermissions = namedtuple('ChannelPermissions', 'target overwrite')
ChannelPermissions.__new__.__defaults__ = (PermissionOverwrite(),)
class Client:
"""Represents a client connection that connects to Discord.
This class is used to interact with the Discord WebSocket and API.

Loading…
Cancel
Save