mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 17:15:11 +03:00
d60c3242af
swc_bundler: - Fix cycle detection for complex circular imports. (denoland/deno#10752) swc_ecma_transforms_typescript: - Allow using large values for an enum variant.
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;
|
|
}
|