13 lines
252 B
TypeScript
13 lines
252 B
TypeScript
import type {
|
|
CacheType,
|
|
ChatInputCommandInteraction,
|
|
SlashCommandBuilder,
|
|
} from "discord.js";
|
|
|
|
export interface Command {
|
|
data: SlashCommandBuilder;
|
|
execute: (
|
|
interaction: ChatInputCommandInteraction<CacheType>
|
|
) => Promise<void>;
|
|
}
|