diff --git a/packages/bot/src/transformers/types.ts b/packages/bot/src/transformers/types.ts index 0a35228a6..4304c14e6 100644 --- a/packages/bot/src/transformers/types.ts +++ b/packages/bot/src/transformers/types.ts @@ -911,7 +911,7 @@ export interface Interaction { token: string /** Read-only property, always `1` */ version: 1 - /** For the message the button was attached to */ + /** For components or modals triggered by components, the message they were attached to */ message?: Message /** the command data payload */ data?: InteractionData diff --git a/packages/types/src/discord/interactions.ts b/packages/types/src/discord/interactions.ts index 62d32dc14..424446bca 100644 --- a/packages/types/src/discord/interactions.ts +++ b/packages/types/src/discord/interactions.ts @@ -43,7 +43,7 @@ export interface DiscordInteraction { token: string /** Read-only property, always `1` */ version: 1 - /** For the message the button was attached to */ + /** For components or modals triggered by components, the message they were attached to */ message?: DiscordMessage /** the command data payload */ data?: DiscordInteractionData