mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
14 lines
594 B
TypeScript
14 lines
594 B
TypeScript
// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/interactions/interaction_response.ts
|
|
|
|
|
|
import { InteractionApplicationCommandCallbackData } from "./commands/application_command_callback_data.ts";
|
|
import { DiscordInteractionResponseTypes } from "./interaction_response_types.ts";
|
|
|
|
/** https://discord.com/developers/docs/interactions/slash-commands#interaction-response */
|
|
export interface InteractionResponse {
|
|
/** The type of response */
|
|
type: DiscordInteractionResponseTypes;
|
|
/** An optional response message */
|
|
data?: InteractionApplicationCommandCallbackData;
|
|
}
|