advanced-command-handler
Version:
A package to help you create a bot with only 1 main file, directories for your events/commands, with some helpers classes and functions.
18 lines (17 loc) • 707 B
TypeScript
import { CommandHandler } from '../../';
import { Command, CommandContext } from '../../classes';
import HelpOptions = CommandHandler.HelpOptions;
export declare class HelpCommand extends Command {
static options: HelpOptions;
aliases: string[];
arguments: {
command: import("../../").Argument<Command>;
};
category: string;
description: string;
name: string;
run(ctx: CommandContext): Promise<void>;
static sendGlobalHelp(ctx: CommandContext): Promise<import("discord.js").Message>;
static sendCommandHelp(ctx: CommandContext, command: Command): Promise<import("discord.js").Message | undefined>;
registerSubCommands(): Promise<void>;
}