UNPKG

@shadow-dev/core

Version:

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

12 lines (11 loc) 360 B
import { Client } from "discord.js"; type BaseModule = Partial<{ name: string; description: string; event: string; once: boolean; customId: string; run: (...args: any[]) => void; }>; export declare function registerModule<T extends BaseModule>(directory: string, manager: any, client: Client, debug: boolean): Promise<void>; export {};