mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-15 02:09:49 +00:00
Add __slots__ for discord.Channel.
Not sure why this was missing.
This commit is contained in:
parent
fe1b5b2941
commit
e3c4daf717
@ -84,6 +84,10 @@ class Channel(Hashable):
|
||||
The channel's limit for number of members that can be in a voice channel.
|
||||
"""
|
||||
|
||||
__slots__ = [ 'voice_members', 'name', 'id', 'server', 'topic', 'position',
|
||||
'is_private', 'type', 'bitrate', 'changed_roles',
|
||||
'user_limit', '_permission_overwrites' ]
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
self._update(**kwargs)
|
||||
self.voice_members = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user