mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
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',
|
||||
'name', 'id', 'owner', 'unavailable', 'name', 'me', 'region',
|
||||
'_default_role', '_default_channel' ]
|
||||
'_default_role', '_default_channel', 'roles' ]
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
self.channels = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user