Add type attribute to Invite

This commit is contained in:
Andrin
2024-05-17 19:31:26 +02:00
committed by GitHub
parent b0024dc866
commit b9dc85e6f7
4 changed files with 36 additions and 2 deletions

View File

@ -3623,6 +3623,26 @@ of :class:`enum.Enum`.
The default layout.
.. class:: InviteType
Represents the type of an invite.
.. versionadded:: 2.4
.. attribute:: guild
The invite is a guild invite.
.. attribute:: group_dm
The invite is a group DM invite.
.. attribute:: friend
The invite is a friend invite.
.. _discord-api-audit-logs:
Audit Log Data