Browse Source

"An array" -> "A list" for documentation purposes.

pull/42/merge
Rapptz 9 years ago
parent
commit
38e83f0999
  1. 4
      discord/channel.py
  2. 6
      discord/server.py

4
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.
"""

6
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.

Loading…
Cancel
Save