aboutsummaryrefslogtreecommitdiff
path: root/discord/member.py
diff options
context:
space:
mode:
authorTobotimus <[email protected]>2018-01-06 17:21:56 -0500
committerRapptz <[email protected]>2018-01-06 17:23:59 -0500
commit3112e1c17e7859adf6d13ed844f4c636b4bc30d8 (patch)
tree70d7aafca549a8c245ee4fdab774e1ab5302d531 /discord/member.py
parent[commands] Fix MissingRequiredArgument param handling (diff)
downloaddiscord.py-3112e1c17e7859adf6d13ed844f4c636b4bc30d8.tar.xz
discord.py-3112e1c17e7859adf6d13ed844f4c636b4bc30d8.zip
Add intersphinx
Diffstat (limited to 'discord/member.py')
-rw-r--r--discord/member.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/discord/member.py b/discord/member.py
index 711bc76e..319d252b 100644
--- a/discord/member.py
+++ b/discord/member.py
@@ -43,15 +43,15 @@ class VoiceState:
Attributes
------------
- deaf: bool
+ deaf: :class:`bool`
Indicates if the user is currently deafened by the guild.
- mute: bool
+ mute: :class:`bool`
Indicates if the user is currently muted by the guild.
- self_mute: bool
+ self_mute: :class:`bool`
Indicates if the user is currently muted by their own accord.
- self_deaf: bool
+ self_deaf: :class:`bool`
Indicates if the user is currently deafened by their own accord.
- afk: bool
+ afk: :class:`bool`
Indicates if the user is currently in the AFK channel in the guild.
channel: :class:`VoiceChannel`
The voice channel that the user is currently connected to. None if the user
@@ -138,20 +138,20 @@ class Member(discord.abc.Messageable, _BaseUser):
Attributes
----------
roles
- A list of :class:`Role` that the member belongs to. Note that the first element of this
+ A :class:`list` of :class:`Role` that the member belongs to. Note that the first element of this
list is always the default '@everyone' role. These roles are sorted by their position
in the role hierarchy.
joined_at : `datetime.datetime`
A datetime object that specifies the date and time in UTC that the member joined the guild for
the first time.
status : :class:`Status`
- The member's status. There is a chance that the status will be a ``str``
+ The member's status. There is a chance that the status will be a :class:`str`
if it is a value that is not recognised by the enumerator.
game : :class:`Game`
The game that the user is currently playing. Could be None if no game is being played.
guild : :class:`Guild`
The guild that the member belongs to.
- nick : Optional[str]
+ nick : Optional[:class:`str`]
The guild specific nickname of the user.
"""