import { type DiscordInteractionData } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.ts";
Properties
optional
component_type: MessageComponentTypesThe type of component
optional
components: DiscordMessageComponentsThe components if its a Modal Submit interaction.
type: ApplicationCommandTypes
the type of the invoked command
optional
resolved: { messages?: Record<string, DiscordMessage>; users?: Record<string, DiscordUser>; members?: Record<string, Omit<DiscordInteractionMember, "user" | "deaf" | "mute">>; roles?: Record<string, DiscordRole>; channels?: Record<string, Pick<DiscordChannel, | "id"
| "name"
| "type"
| "permissions"
Converted users + roles + channels + attachments
optional
options: DiscordInteractionDataOption[]The params + values from the user