mirror of
https://github.com/sern-handler/website
synced 2026-06-06 01:16:47 +00:00
1.9 KiB
1.9 KiB
id, title, sidebar_label, sidebar_position, custom_edit_url
| id | title | sidebar_label | sidebar_position | custom_edit_url |
|---|---|---|---|---|
| DiscordEmitterPlugin | Interface: DiscordEmitterPlugin | DiscordEmitterPlugin | 0 | null |
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