Skip to content

Commit ed1f73c

Browse files
authored
docs: add docs for Interaction.entitlements (#2495)
Signed-off-by: plun1331 <[email protected]>
1 parent 77c9ff9 commit ed1f73c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

discord/interactions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ class Interaction:
140140
The guilds preferred locale, if invoked in a guild.
141141
custom_id: Optional[:class:`str`]
142142
The custom ID for the interaction.
143+
entitlements: list[:class:`Entitlement`]
144+
Entitlements that apply to the invoking user, showing access to premium SKUs.
145+
146+
.. versionadded:: 2.5
143147
authorizing_integration_owners: :class:`AuthorizingIntegrationOwners`
144148
Contains the entities (users or guilds) that authorized this interaction.
145149

0 commit comments

Comments
 (0)