From 017a3a78a728ec1b4597eb5eef8f5e2993daa68d Mon Sep 17 00:00:00 2001 From: plun1331 Date: Wed, 10 Jul 2024 08:01:16 -0700 Subject: [PATCH] docs: add docs for Interaction.entitlements Signed-off-by: plun1331 --- discord/interactions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/discord/interactions.py b/discord/interactions.py index ee4df62014..e7d7fade3e 100644 --- a/discord/interactions.py +++ b/discord/interactions.py @@ -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.