Documentation formatting

This commit is contained in:
Skezza authored and GitHub committed 2020-06-30 23:32:00 -04:00
1 parent e7500f738c
commit c3bca7ec73
9 files changed
+11 -11

No files matched your search

+2 -2
View File
@@ -60,7 +60,7 @@ class VoiceState:
afk: :class:`bool`
Indicates if the user is currently in the AFK channel in the guild.
channel: Optional[:class:`VoiceChannel`]
The voice channel that the user is currently connected to. None if the user
The voice channel that the user is currently connected to. ``None`` if the user
is not currently in a voice channel.
"""
@@ -373,7 +373,7 @@ class Member(discord.abc.Messageable, _BaseUser):
@property
def activity(self):
"""Union[:class:`BaseActivity`, :class:`Spotify`]: Returns the primary
activity the user is currently doing. Could be None if no activity is being done.
activity the user is currently doing. Could be ``None`` if no activity is being done.
.. note::