UNPKG

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.

23 lines (22 loc) 715 B
import { MessageInteraction } from "./Commands.js"; declare class MessageCommandFile { /** * @readonly * @param {object} data - The command data * @param {Function} execute - The execute function */ constructor(data: { content: string | string[]; startsWith?: boolean; includes?: boolean; endsWith?: boolean; }, execute: (message: MessageInteraction, ...args: any[]) => Promise<void> | void); data: { content: string | string[]; startsWith?: boolean; includes?: boolean; endsWith?: boolean; }; execute: (message: MessageInteraction, ...args: any[]) => Promise<void> | void; } export { MessageCommandFile };