From fb9434b9b2b055f958ea0671810ce4f38d67c8ef Mon Sep 17 00:00:00 2001 From: shiftinv Date: Tue, 21 Nov 2023 21:07:28 +0100 Subject: [PATCH] revert: "docs: add disclaimer about creating >30d invites (#1056)" This reverts commit c71baf02e130f0a9ff83589c4b590f765dd87bab. --- disnake/abc.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/disnake/abc.py b/disnake/abc.py index a6f84163ac..b996fb1c71 100644 --- a/disnake/abc.py +++ b/disnake/abc.py @@ -1297,12 +1297,6 @@ async def create_invite( max_age: :class:`int` How long the invite should last in seconds. If set to ``0``, then the invite doesn't expire. Defaults to ``0``. - - .. warning:: - - If the guild is not a Community guild (has ``COMMUNITY`` in :attr:`.Guild.features`), - this must be set to a number between ``1`` and ``2592000`` seconds. - max_uses: :class:`int` How many uses the invite could be used for. If it's 0 then there are unlimited uses. Defaults to ``0``.