Files
hexerade/src/types/command.d.ts
T
2025-06-02 08:53:20 -04:00

9 lines
347 B
TypeScript

import { Client, ContextMenuCommandBuilder, SlashCommandBuilder } from 'discord.js';
import { Handler } from './handler';
export type CommandBuilder = ContextMenuCommandBuilder | SlashCommandBuilder;
export interface Command extends Handler {
data: CommandBuilder | ((client: Client) => Promise<CommandBuilder>);
guilds?: string[];
}