From c3bca7ec735e6818383f0de2f427d82a096062b9 Mon Sep 17 00:00:00 2001 From: Skezza <36114463+SkezzaB@users.noreply.github.com> Date: Wed, 1 Jul 2020 04:32:00 +0100 Subject: Documentation formatting --- discord/guild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/guild.py') 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`] -- cgit v1.2.3