diff --git a/packages/bot/src/desiredProperties.ts b/packages/bot/src/desiredProperties.ts index 37207ecbf..d09b224ad 100644 --- a/packages/bot/src/desiredProperties.ts +++ b/packages/bot/src/desiredProperties.ts @@ -378,6 +378,7 @@ export function createDesiredPropertiesObject> /** Context where the interaction was triggered from */ context?: DiscordInteractionContextType + /** Attachment size limit in bytes */ + attachmentSizeLimit: number /** * Sends a response to an interaction. * diff --git a/packages/types/src/discord/interactions.ts b/packages/types/src/discord/interactions.ts index 4e2860154..7abf6698e 100644 --- a/packages/types/src/discord/interactions.ts +++ b/packages/types/src/discord/interactions.ts @@ -59,6 +59,8 @@ export interface DiscordInteraction { authorizing_integration_owners: DiscordAuthorizingIntegrationOwners /** Context where the interaction was triggered from */ context?: DiscordInteractionContextType + /** Attachment size limit in bytes */ + attachment_size_limit: number } /** https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-type */