From 38e83f09990b99b97ca2843f4e3a18f96aae7774 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 28 Nov 2015 19:51:32 -0500 Subject: [PATCH] "An array" -> "A list" for documentation purposes. --- discord/channel.py | 4 ++-- discord/server.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/discord/channel.py b/discord/channel.py index fa5468905..32b98fda1 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -58,11 +58,11 @@ class Channel(object): The channel type. Usually ``'voice'`` or ``'text'``. .. attribute:: changed_roles - An array of :class:`Roles` that have been overridden from their default + A list of :class:`Roles` that have been overridden from their default values in the :attr:`Server.roles` attribute. .. attribute:: voice_members - An array of :class:`Members` that are currently inside this voice channel. + A list of :class:`Members` that are currently inside this voice channel. If :attr:`type` is not ``'voice'`` then this is always an empty array. """ diff --git a/discord/server.py b/discord/server.py index 9b71d96f8..0c2eca5a2 100644 --- a/discord/server.py +++ b/discord/server.py @@ -39,7 +39,7 @@ class Server(object): The server name. .. attribute:: roles - An array of :class:`Role` that the server has available. + A list of :class:`Role` that the server has available. .. attribute:: region The region the server belongs on. @@ -51,10 +51,10 @@ class Server(object): The :class:`Channel` that denotes the AFK channel. None if it doesn't exist. .. attribute:: members - An array of :class:`Member` that are currently on the server. + A list of :class:`Member` that are currently on the server. .. attribute:: channels - An array of :class:`Channel` that are currently on the server. + A list of :class:`Channel` that are currently on the server. .. attribute:: icon The server's icon.