mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
22 lines
968 B
TypeScript
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;
|
|
}
|