Add missing roles attribute to Server.__slots__
This commit is contained in:
parent
9d881ad475
commit
6ddfbc4b36
@ -86,7 +86,7 @@ class Server(Hashable):
|
|||||||
|
|
||||||
__slots__ = [ 'afk_timeout', 'afk_channel', 'members', 'channels', 'icon',
|
__slots__ = [ 'afk_timeout', 'afk_channel', 'members', 'channels', 'icon',
|
||||||
'name', 'id', 'owner', 'unavailable', 'name', 'me', 'region',
|
'name', 'id', 'owner', 'unavailable', 'name', 'me', 'region',
|
||||||
'_default_role', '_default_channel' ]
|
'_default_role', '_default_channel', 'roles' ]
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
self.channels = []
|
self.channels = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user