Skip to main content

Class: CommandExecutable<Type>

Experimental

Will be refactored / changed in future

Type parameters

NameType
Typeextends CommandType = CommandType

Constructors

constructor

new CommandExecutable<Type>()

Type parameters

NameType
Typeextends CommandType = CommandType

Properties

plugins

plugins: AnyCommandPlugin[] = []

Defined in

src/core/modules.ts:79


type

Abstract type: Type

Defined in

src/core/modules.ts:78


_instance

Static Private _instance: CommandModule

Defined in

src/core/modules.ts:80

Methods

execute

Abstract execute(...args): unknown

Parameters

NameType
...argsCommandArgs<Type, Control>

Returns

unknown

Defined in

src/core/modules.ts:91


getInstance

Static getInstance(): CommandModule

Returns

CommandModule

Defined in

src/core/modules.ts:82