UNPKG

@shadow-dev/core

Version:

A modular core framework for Discord bot development, providing commands, buttons, menus, middleware, and more.

12 lines (11 loc) 414 B
import { Client } from "discord.js"; import { Command } from "./command"; export declare class CommandManager { private client; private static commands; constructor(client: Client); registerCommand(command: Command): Promise<void>; getCommand(commandName: string): Command | undefined; registerCommands(guildId?: string): Promise<void>; static getAllCommands(): Map<string, Command>; }