Newer
Older
percord / dist / models / Interaction.d.ts
@Flam3rboy Flam3rboy on 6 Apr 2021 669 bytes :art: Convert id bigint to string
import { AllowedMentions, Embed } from "./Message";
export interface Interaction {
    id: string;
    type: InteractionType;
    data?: {};
    guild_id: string;
    channel_id: string;
    member_id: string;
    token: string;
    version: number;
}
export declare enum InteractionType {
    Ping = 1,
    ApplicationCommand = 2
}
export declare enum InteractionResponseType {
    Pong = 1,
    Acknowledge = 2,
    ChannelMessage = 3,
    ChannelMessageWithSource = 4,
    AcknowledgeWithSource = 5
}
export interface InteractionApplicationCommandCallbackData {
    tts?: boolean;
    content: string;
    embeds?: Embed[];
    allowed_mentions?: AllowedMentions;
}