Fix afk_channel docstring error

This commit is contained in:
Rapptz 2023-06-11 12:52:47 -04:00
parent abfb3a11b0
commit a8675ccde8

View File

@ -186,8 +186,6 @@ class Guild(Hashable):
.. versionadded:: 2.0 .. versionadded:: 2.0
afk_timeout: :class:`int` afk_timeout: :class:`int`
The number of seconds until someone is moved 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` id: :class:`int`
The guild's ID. The guild's ID.
owner_id: :class:`int` owner_id: :class:`int`
@ -1882,6 +1880,8 @@ class Guild(Hashable):
and ``public_updates_channel`` parameters are required. and ``public_updates_channel`` parameters are required.
.. versionadded:: 2.0 .. versionadded:: 2.0
afk_channel: Optional[:class:`VoiceChannel`]
The new channel that is the AFK channel. Could be ``None`` for no AFK channel.
afk_timeout: :class:`int` afk_timeout: :class:`int`
The number of seconds until someone is moved to the AFK channel. The number of seconds until someone is moved to the AFK channel.
owner: :class:`Member` owner: :class:`Member`