Browse Source

Add missing roles attribute to Server.__slots__

pull/77/head
Rapptz 9 years ago
parent
commit
6ddfbc4b36
  1. 2
      discord/server.py

2
discord/server.py

@ -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…
Cancel
Save