mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
"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'``.
|
||||
.. 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.
|
||||
"""
|
||||
|
||||
|
@ -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…
x
Reference in New Issue
Block a user