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