djsify
Version:
A powerful and flexible Discord bot framework for building feature-rich Discord bots with ease. Supports message commands, slash commands, and button interactions.
14 lines (13 loc) • 502 B
TypeScript
import SlashType from "./SlashType.js";
import { SlashCommandInteraction } from "./Commands.js";
declare class SlashCommandFile {
/**
* @readonly
* @param {object} data - The command data
* @param {Function} execute - The execute function
*/
constructor(data: SlashType, execute: (interaction: SlashCommandInteraction) => Promise<void> | void);
data: SlashType;
execute: (interaction: SlashCommandInteraction) => Promise<void> | void;
}
export { SlashCommandFile };