diff --git a/discord/enums.py b/discord/enums.py index d9ef7f35a..a4c64a0e6 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -750,6 +750,8 @@ class InviteTarget(Enum): unknown = 0 stream = 1 embedded_application = 2 + role_subscriptions = 3 + creator_page = 4 class InviteType(Enum): diff --git a/docs/api.rst b/docs/api.rst index 822823d15..87ce7ce40 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -3234,6 +3234,18 @@ of :class:`enum.Enum`. A stream invite that targets an embedded application. + .. attribute:: role_subscriptions + + A guild invite that redirects to the role subscriptions page of a guild when accepted. + + .. versionadded:: 2.0 + + .. attribute:: creator_page + + A guild invite that originates from the creator page of a guild. + + .. versionadded:: 2.0 + .. class:: VideoQualityMode Represents the camera video quality mode for voice channel participants.