"An array" -> "A list" for documentation purposes.
This commit is contained in:
parent
70c7a79719
commit
38e83f0999
@ -58,11 +58,11 @@ class Channel(object):
|
|||||||
The channel type. Usually ``'voice'`` or ``'text'``.
|
The channel type. Usually ``'voice'`` or ``'text'``.
|
||||||
.. attribute:: changed_roles
|
.. 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.
|
values in the :attr:`Server.roles` attribute.
|
||||||
.. attribute:: voice_members
|
.. 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.
|
If :attr:`type` is not ``'voice'`` then this is always an empty array.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ class Server(object):
|
|||||||
The server name.
|
The server name.
|
||||||
.. attribute:: roles
|
.. attribute:: roles
|
||||||
|
|
||||||
An array of :class:`Role` that the server has available.
|
A list of :class:`Role` that the server has available.
|
||||||
.. attribute:: region
|
.. attribute:: region
|
||||||
|
|
||||||
The region the server belongs on.
|
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.
|
The :class:`Channel` that denotes the AFK channel. None if it doesn't exist.
|
||||||
.. attribute:: members
|
.. 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
|
.. 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
|
.. attribute:: icon
|
||||||
|
|
||||||
The server's icon.
|
The server's icon.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user