mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-25 12:23:59 +00:00
Clarify some documentation in Guild features
Add afk_timeout unit and changed VIP_REGIONS feature description
This commit is contained in:
parent
0981f122af
commit
896513b3ac
@ -181,7 +181,7 @@ class Guild(Hashable):
|
|||||||
|
|
||||||
.. versionadded:: 2.0
|
.. versionadded:: 2.0
|
||||||
afk_timeout: :class:`int`
|
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`]
|
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.
|
||||||
id: :class:`int`
|
id: :class:`int`
|
||||||
@ -244,7 +244,7 @@ class Guild(Hashable):
|
|||||||
- ``TICKETED_EVENTS_ENABLED``: Guild has enabled ticketed events.
|
- ``TICKETED_EVENTS_ENABLED``: Guild has enabled ticketed events.
|
||||||
- ``VANITY_URL``: Guild can have a vanity invite URL (e.g. discord.gg/discord-api).
|
- ``VANITY_URL``: Guild can have a vanity invite URL (e.g. discord.gg/discord-api).
|
||||||
- ``VERIFIED``: Guild is a verified server.
|
- ``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.
|
- ``WELCOME_SCREEN_ENABLED``: Guild has enabled the welcome screen.
|
||||||
|
|
||||||
premium_tier: :class:`int`
|
premium_tier: :class:`int`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user