Files
website/docs/api/classes/CommandExecutable.md
2024-05-07 16:25:00 +02:00

1.9 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

Deprecated

Will be removed in future

Type parameters

Name Type
Type extends CommandType = CommandType

Constructors

constructor

new CommandExecutable<Type>(): CommandExecutable<Type>

Type parameters

Name Type
Type extends CommandType = CommandType

Returns

CommandExecutable<Type>

Properties

plugins

plugins: AnyCommandPlugin[] = []

Defined in

src/core/modules.ts:80


type

Abstract type: Type

Defined in

src/core/modules.ts:79


_instance

Static Private _instance: CommandModule

Defined in

src/core/modules.ts:81

Methods

execute

execute(...args): unknown

Parameters

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

Returns

unknown

Defined in

src/core/modules.ts:92


getInstance

getInstance(): CommandModule

Returns

CommandModule

Defined in

src/core/modules.ts:83