Browse Source

Clarify some documentation in Guild features

Add afk_timeout unit and changed VIP_REGIONS feature description
pull/8429/head
Puncher 3 years ago
committed by GitHub
parent
commit
896513b3ac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      discord/guild.py

4
discord/guild.py

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

Loading…
Cancel
Save