Interface: ExternalEmitterPlugin
Hierarchy
↳
ExternalEmitterPlugin
Properties
description
• Optional
description: string
Deprecated
will be removed in the next update
Inherited from
Defined in
src/handler/plugins/plugin.ts:33
execute
• execute: (payload
: { absPath
: string
; mod
: ExternalEventCommand
& { name
: string
} }, controller
: Controller
) => Awaitable
<Result
<void
, void
>>
Type declaration
▸ (payload
, controller
): Awaitable
<Result
<void
, void
>>
Parameters
Name | Type |
---|---|
payload | Object |
payload.absPath | string |
payload.mod | ExternalEventCommand & { name : string } |
controller | Controller |
Returns
Awaitable
<Result
<void
, void
>>
Defined in
src/handler/plugins/plugin.ts:57
name
• Optional
name: string
Deprecated
will be removed in the next update
Inherited from
Defined in
src/handler/plugins/plugin.ts:31
type
• type: Command