1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-09 23:39:50 +00:00

Fix afk_channel docstring error

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

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