Interface: DiscordEmitterPlugin
Hierarchy
↳
DiscordEmitterPlugin
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: DiscordEventCommand<keyof ClientEvents> & { 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 | DiscordEventCommand<keyof ClientEvents> & { name: string } |
controller | Controller |
Returns
Awaitable<Result<void, void>>
Defined in
src/handler/plugins/plugin.ts:49
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