UNPKG

solara-testing-beta

Version:

A modern, customizable, and lightweight Discord framework.

13 lines (12 loc) 467 B
import { Collection } from 'discord.js'; import { Command } from '../structures/Command'; import SolaraClient from './SolaraClient'; export declare class CommandHandler { client: SolaraClient; commands: Collection<string, Command>; aliases: Collection<string, string>; constructor(client: SolaraClient); loadCommands(dirs?: string[]): Promise<void>; getCommand(name: string): Command | undefined; registerSlashCommands(): Promise<void>; }