Skip to content

Commit

Permalink
docs: add docs for Interaction.entitlements (#2495)
Browse files Browse the repository at this point in the history
Signed-off-by: plun1331 <plun1331@gmail.com>
  • Loading branch information
plun1331 authored Jul 10, 2024
1 parent 77c9ff9 commit ed1f73c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions discord/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ class Interaction:
The guilds preferred locale, if invoked in a guild.
custom_id: Optional[:class:`str`]
The custom ID for the interaction.
entitlements: list[:class:`Entitlement`]
Entitlements that apply to the invoking user, showing access to premium SKUs.
.. versionadded:: 2.5
authorizing_integration_owners: :class:`AuthorizingIntegrationOwners`
Contains the entities (users or guilds) that authorized this interaction.
Expand Down

0 comments on commit ed1f73c

Please sign in to comment.