diff options
| author | Rapptz <[email protected]> | 2015-11-28 19:51:32 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-11-28 19:51:32 -0500 |
| commit | 38e83f09990b99b97ca2843f4e3a18f96aae7774 (patch) | |
| tree | 8ed4b6576943de5d048e0bbcc1042de4d9144533 | |
| parent | Remove afk_channel_id and replace it with afk_channel. (diff) | |
| download | discord.py-38e83f09990b99b97ca2843f4e3a18f96aae7774.tar.xz discord.py-38e83f09990b99b97ca2843f4e3a18f96aae7774.zip | |
"An array" -> "A list" for documentation purposes.
| -rw-r--r-- | discord/channel.py | 4 | ||||
| -rw-r--r-- | discord/server.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/discord/channel.py b/discord/channel.py index fa546890..32b98fda 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 9b71d96f..0c2eca5a 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. |