Files
website/docs/api/classes/CommandExecutable.md
2023-12-21 20:52:34 +00:00

1.8 KiB

id, title, sidebar_label, sidebar_position, custom_edit_url
id title sidebar_label sidebar_position custom_edit_url
CommandExecutable Class: CommandExecutable<Type> CommandExecutable 0 null

Experimental

Will be refactored / changed in future

Type parameters

Name Type
Type extends CommandType = CommandType

Constructors

constructor

new CommandExecutable<Type>()

Type parameters

Name Type
Type extends 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

Name Type
...args CommandArgs<Type, Control>

Returns

unknown

Defined in

src/core/modules.ts:91


getInstance

Static getInstance(): CommandModule

Returns

CommandModule

Defined in

src/core/modules.ts:82