From a1a47c6f38b46fe2d75276cff037048ee9acfdc4 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 8 Jan 2016 14:03:11 -0500 Subject: Document the breaking change with the new dictionary storage change. Since the only things dict views support are iteration we should advise people who want the old behaviour to change it to a list. --- discord/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/server.py') diff --git a/discord/server.py b/discord/server.py index 66ae3cd6..2d2afe6b 100644 --- a/discord/server.py +++ b/discord/server.py @@ -67,9 +67,9 @@ class Server(Hashable): afk_channel : :class:`Channel` The channel that denotes the AFK channel. None if it doesn't exist. members - A list of :class:`Member` that are currently on the server. + An iterable of :class:`Member` that are currently on the server. channels - A list of :class:`Channel` that are currently on the server. + An iterable of :class:`Channel` that are currently on the server. icon : str The server's icon. id : str -- cgit v1.2.3