import { type DiscordInteractionData } from "https://deno.land/x/oasis@2.1.0/tests/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
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