forgescript
Version:
ForgeScript is a comprehensive package that empowers you to effortlessly interact with Discord's API. It ensures scripting remains easy to learn and consistently effective.
14 lines • 544 B
TypeScript
import { ForgeClient } from "../core/ForgeClient";
import { BaseCommand, IBaseCommand } from "../structures";
export declare class BaseCommandManager<T> {
private readonly client;
private readonly commands;
private readonly paths;
constructor(client: ForgeClient);
refresh(): void;
load(path: string): void;
get(type: T, fn?: (cmd: BaseCommand<T>) => boolean): BaseCommand<T>[];
add(...commands: (IBaseCommand<T> | BaseCommand<T>)[]): void;
private addPath;
}
//# sourceMappingURL=BaseCommandManager.d.ts.map