import {
AutocompleteInteraction,
ChatInputCommandInteraction,
Client,
ModalSubmitInteraction,
SlashCommandBuilder,
} from "discord.js";
export interface SlashCommand {
command: SlashCommandBuilder;
execute: (interaction: ChatInputCommandInteraction) => void;
autocomplete?: (interaction: AutocompleteInteraction) => void;
modal?: (interaction: ModalSubmitInteraction<CacheType>) => void;
}
import {
AutocompleteInteraction,
ChatInputCommandInteraction,
Client,
ModalSubmitInteraction,
SlashCommandBuilder,
} from "discord.js";
export interface SlashCommand {
command: SlashCommandBuilder;
execute: (interaction: ChatInputCommandInteraction) => void;
autocomplete?: (interaction: AutocompleteInteraction) => void;
modal?: (interaction: ModalSubmitInteraction<CacheType>) => void;
}