Browse Source

Implement missing invite target types

pull/10109/head
dolfies 2 years ago
parent
commit
9a6d1e4e52
  1. 2
      discord/enums.py
  2. 12
      docs/api.rst

2
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):

12
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.

Loading…
Cancel
Save