@shadow-dev/core
Version:
A modular core framework for Discord bot development, providing commands, buttons, menus, middleware, and more.
10 lines (9 loc) • 325 B
TypeScript
import { Client, Interaction } from "discord.js";
export declare class EventManager {
private client;
private buttonManager;
private menuManager;
private customInteractionHandler?;
constructor(client: Client);
setCustomInteractionHandler(handler: (interaction: Interaction) => Promise<void>): void;
}