Skip to main content

Interface: SernEventCommand<T>

Type parameters

NameType
Textends 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

NameType
...argsSernEventsMapping[T]

Returns

unknown

Overrides

Module.execute

Defined in

src/types/core-modules.ts:44