mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Add type attribute to Invite
This commit is contained in:
1 parent
b0024dc866
commit
b9dc85e6f7
4 files changed
+36
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user