aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.py
diff options
context:
space:
mode:
authorSkezza <[email protected]>2020-07-01 04:32:00 +0100
committerGitHub <[email protected]>2020-06-30 23:32:00 -0400
commitc3bca7ec735e6818383f0de2f427d82a096062b9 (patch)
treefca505820795ad674ba135791b48c2859265e663 /discord/guild.py
parentFix typo with voice_client documentation (diff)
downloaddiscord.py-c3bca7ec735e6818383f0de2f427d82a096062b9.tar.xz
discord.py-c3bca7ec735e6818383f0de2f427d82a096062b9.zip
Documentation formatting
Diffstat (limited to 'discord/guild.py')
-rw-r--r--discord/guild.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/guild.py b/discord/guild.py
index a8ac04cf..56b8462b 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -88,7 +88,7 @@ class Guild(Hashable):
afk_timeout: :class:`int`
The timeout to get sent to the AFK channel.
afk_channel: Optional[:class:`VoiceChannel`]
- The channel that denotes the AFK channel. None if it doesn't exist.
+ The channel that denotes the AFK channel. ``None`` if it doesn't exist.
icon: Optional[:class:`str`]
The guild's icon.
id: :class:`int`
@@ -98,7 +98,7 @@ class Guild(Hashable):
unavailable: :class:`bool`
Indicates if the guild is unavailable. If this is ``True`` then the
reliability of other attributes outside of :meth:`Guild.id` is slim and they might
- all be None. It is best to not do anything with the guild if it is unavailable.
+ all be ``None``. It is best to not do anything with the guild if it is unavailable.
Check the :func:`on_guild_unavailable` and :func:`on_guild_available` events.
max_presences: Optional[:class:`int`]