mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Add type attribute to Invite
This commit is contained in:
20
docs/api.rst
20
docs/api.rst
@ -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