swc/crates/swc_bundler/tests/.cache/deno/1c704466d024900efad5fd741596acad3fc58f83.ts
2021-11-09 20:42:49 +09:00

22 lines
968 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/interactions/commands/application_command_interaction_data.ts
import { ApplicationCommandInteractionDataOption } from "./application_command_interaction_data_option.ts";
import { ApplicationCommandInteractionDataResolved } from "./application_command_interaction_data_resolved.ts";
/** https://discord.com/developers/docs/interactions/slash-commands#interaction-applicationcommandinteractiondata */
export interface ApplicationCommandInteractionData {
/** The Id of the invoked command */
id?: string;
/** The name of the invoked command */
name?: string;
/** Converted users + roles + channels */
resolved?: ApplicationCommandInteractionDataResolved;
/** The params + values from the user */
options?: ApplicationCommandInteractionDataOption[];
/** with the value you defined for this component */
customId?: string;
/** The type of this component */
componentType?: 2;
}