From a8675ccde88c4d710928ba65c813a4126cbb25f7 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 11 Jun 2023 12:52:47 -0400 Subject: [PATCH] Fix afk_channel docstring error --- discord/guild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/guild.py b/discord/guild.py index e8c7ebcf0..a37fb549f 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -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`