Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommandsHandler

Handles the commands associated to a bot

Hierarchy

  • CommandsHandler

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly commands

commands: Collection<string, Command>

The commands associated to this handler mapped by their names

Methods

execute

  • execute(name: string, ...args: Parameters<CommandEvents[Execute]>): Promise<boolean>

register

Generated using TypeDoc