From 8ddf2a927f173541d7d5dfcd575fe86f1c6e8de1 Mon Sep 17 00:00:00 2001 From: dolfies Date: Tue, 18 Jul 2023 00:10:23 -0400 Subject: [PATCH] Update versionadded directives --- discord/channel.py | 2 +- docs/api.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/channel.py b/discord/channel.py index cd7c719ee..55cce673f 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -2087,7 +2087,7 @@ class CategoryChannel(discord.abc.GuildChannel, Hashable): def forums(self) -> List[ForumChannel]: """List[:class:`ForumChannel`]: Returns the forum channels that are under this category. - .. versionadded:: 2.4 + .. versionadded:: 2.1 """ r = [c for c in self.guild.channels if c.category_id == self.id and isinstance(c, ForumChannel)] r.sort(key=lambda c: (c.position, c.id)) diff --git a/docs/api.rst b/docs/api.rst index 2b7c1858d..041d7b98d 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -3100,13 +3100,13 @@ of :class:`enum.Enum`. A request to monetize the server was created. - .. versionadded:: 2.4 + .. versionadded:: 2.1 .. attribute:: creator_monetization_terms_accepted The terms and conditions for creator monetization were accepted. - .. versionadded:: 2.4 + .. versionadded:: 2.1 .. class:: AuditLogActionCategory