Skip to content

Commit

Permalink
revert: "docs: add disclaimer about creating >30d invites (#1056)"
Browse files Browse the repository at this point in the history
This reverts commit c71baf0.
  • Loading branch information
shiftinv committed Nov 21, 2023
1 parent 6ddc0bd commit fb9434b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions disnake/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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``.
Expand Down

0 comments on commit fb9434b

Please sign in to comment.