Clarify some documentation in Guild features

Add afk_timeout unit and changed VIP_REGIONS feature description
This commit is contained in:
Puncher 2022-08-30 06:50:17 +02:00 committed by GitHub
parent 0981f122af
commit 896513b3ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,7 @@ class Guild(Hashable):
.. versionadded:: 2.0
afk_timeout: :class:`int`
The timeout to get sent to the AFK channel.
The number of seconds until someone is moved to the AFK channel.
afk_channel: Optional[:class:`VoiceChannel`]
The channel that denotes the AFK channel. ``None`` if it doesn't exist.
id: :class:`int`
@ -244,7 +244,7 @@ class Guild(Hashable):
- ``TICKETED_EVENTS_ENABLED``: Guild has enabled ticketed events.
- ``VANITY_URL``: Guild can have a vanity invite URL (e.g. discord.gg/discord-api).
- ``VERIFIED``: Guild is a verified server.
- ``VIP_REGIONS``: Guild has VIP voice regions.
- ``VIP_REGIONS``: Guild can have 384kbps bitrate in voice channels.
- ``WELCOME_SCREEN_ENABLED``: Guild has enabled the welcome screen.
premium_tier: :class:`int`