Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Command Abstract

All commands must extend this class and implement its abstract methods.

Hierarchy

Index

Constructors

Properties

aliases: string[]

Alais command names for this command, only works with prefix commands.

category: string

The category this command might belong to.

description: string

The description for the command.

internalType: InternalType = Command.InternalType.Base
kinds: Kind[]

What kinds of command this is, sets wether or not this command is a prefix command, interaction command, or both.

name: string

The name of the command.

The options for the command.

preconditions: PreconditionsContainer = ...

The preconditions for the command.

subType: SubType = Command.SubType.Command
type: Type

The type of the command.

Accessors

Methods