Files
website/docs/api/interfaces/SernEventCommand.md
2023-01-26 15:47:53 -06:00

2.0 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

Properties

description

Optional description: string

Inherited from

Module.description

Defined in

src/types/module.ts:38


name

Optional name: T

Overrides

Module.name

Defined in

src/types/module.ts:116


onEvent

onEvent: ControlPlugin<any[]>[]

Inherited from

Module.onEvent

Defined in

src/types/module.ts:36


plugins

plugins: InitPlugin<any[]>[]

Inherited from

Module.plugins

Defined in

src/types/module.ts:37


type

type: Sern

Overrides

Module.type

Defined in

src/types/module.ts:117

Methods

execute

execute(...args): unknown

Parameters

Name Type
...args SernEventsMapping[T]

Returns

unknown

Overrides

Module.execute

Defined in

src/types/module.ts:118