Files
website/docs/api/interfaces/SernEventCommand.md
2024-03-09 14:30:19 +00:00

1.9 KiB

id, title, sidebar_label, sidebar_position, custom_edit_url
id title sidebar_label sidebar_position custom_edit_url
SernEventCommand Interface: SernEventCommand<T> SernEventCommand 0 null

Type parameters

Name Type
T extends keyof SernEventsMapping = keyof SernEventsMapping

Hierarchy

  • Module

    SernEventCommand

Properties

description

Optional description: string

Inherited from

Module.description

Defined in

src/types/core-modules.ts:36


name

Optional name: T

Overrides

Module.name

Defined in

src/types/core-modules.ts:42


onEvent

onEvent: ControlPlugin<any[]>[]

Inherited from

Module.onEvent

Defined in

src/types/core-modules.ts:34


plugins

plugins: InitPlugin<any[]>[]

Inherited from

Module.plugins

Defined in

src/types/core-modules.ts:35


type

type: Sern

Overrides

Module.type

Defined in

src/types/core-modules.ts:43

Methods

execute

execute(...args): unknown

Parameters

Name Type
...args SernEventsMapping[T]

Returns

unknown

Overrides

Module.execute

Defined in

src/types/core-modules.ts:44