Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Command

Class representing a command.

Hierarchy

  • Command

Index

Constructors

constructor

Properties

Optional filename

filename: undefined | string

The name of the file the command was loaded from, if any.

names

names: string[]

A list of the command's names. The first should be considered the command's canonical or display name. All characters must be lowercase if the client option caseSensitiveCommands is false or unset.

process

process: CommandProcess<TextableChannel> | GuildCommandProcess | PrivateCommandProcess

The function executed when the command is triggered.

requirements

requirements: CommandRequirements

The requirements for the command being triggered.

Methods

checkPermissions

execute

Generated using TypeDoc