aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-01-08 15:31:06 -0500
committerRapptz <[email protected]>2016-01-08 15:31:06 -0500
commit93e3c360a718fbda6b561721bfae0716ac9cd4cd (patch)
tree5bf0e5d1b77f875fe82cea65acc4f5e80ee7c030
parentDocument the breaking change with the new dictionary storage change. (diff)
downloaddiscord.py-93e3c360a718fbda6b561721bfae0716ac9cd4cd.tar.xz
discord.py-93e3c360a718fbda6b561721bfae0716ac9cd4cd.zip
Fix conflicts with __slots__ and the new properties under Server.
-rw-r--r--discord/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/server.py b/discord/server.py
index 2d2afe6b..11d35d67 100644
--- a/discord/server.py
+++ b/discord/server.py
@@ -84,7 +84,7 @@ class Server(Hashable):
Check the :func:`on_server_unavailable` and :func:`on_server_available` events.
"""
- __slots__ = [ 'afk_timeout', 'afk_channel', 'members', 'channels', 'icon',
+ __slots__ = [ 'afk_timeout', 'afk_channel', '_members', '_channels', 'icon',
'name', 'id', 'owner', 'unavailable', 'name', 'me', 'region',
'_default_role', '_default_channel', 'roles' ]