UNPKG

discord-bot-cli

Version:

An easy way to build a command-based discord bot with discord.js.

14 lines (13 loc) 432 B
import { Message } from "discord.js"; import { Command } from "../Command"; import { CommandSetOptions } from "../CommandSetOptions"; import { CommandSet } from "../CommandSet"; /** * Function called to generate help for a command. * @category Handler */ export declare type HelpHandler = (command: Command, context: { message: Message; options: CommandSetOptions; commandSet: CommandSet; }) => void | Promise<void>;