mirror of
https://github.com/sern-handler/website
synced 2026-06-06 17:26:50 +00:00
1.8 KiB
1.8 KiB
id, title, sidebar_label, sidebar_position, custom_edit_url
| id | title | sidebar_label | sidebar_position | custom_edit_url |
|---|---|---|---|---|
| CommandPlugin | Interface: CommandPlugin<T> | CommandPlugin | 0 | null |
Deprecated
Use the newer helper functions and import { controller } from '@sern/handler'
Type parameters
| Name | Type |
|---|---|
T |
extends CommandType = CommandType |
Properties
description
• Optional description: string
Defined in
execute
• execute: (m: InitArgs<Processed<CommandModule>>, controller?: Deprecated<"Please import controller instead">) => PluginResult
Type declaration
▸ (m, controller?): PluginResult
Parameters
| Name | Type |
|---|---|
m |
InitArgs<Processed<CommandModule>> |
controller? |
Deprecated<"Please import controller instead"> |
Returns
Defined in
name
• Optional name: string
Defined in
type
• type: Init