Documentation formatting

This commit is contained in:
Skezza
2020-07-01 04:32:00 +01:00
committed by GitHub
parent e7500f738c
commit c3bca7ec73
9 changed files with 11 additions and 11 deletions

View File

@ -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`]