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:37


name

Optional name: T

Overrides

Module.name

Defined in

src/types/core-modules.ts:43


onEvent

onEvent: ControlPlugin<any[]>[]

Inherited from

Module.onEvent

Defined in

src/types/core-modules.ts:35


plugins

plugins: InitPlugin<any[]>[]

Inherited from

Module.plugins

Defined in

src/types/core-modules.ts:36


type

type: Sern

Overrides

Module.type

Defined in

src/types/core-modules.ts:44

Methods

execute

execute(...args): unknown

Parameters

NameType
...argsSernEventsMapping[T]

Returns

unknown

Overrides

Module.execute

Defined in

src/types/core-modules.ts:45