Files
website/docs/api/interfaces/CommandPlugin.md
2023-04-15 15:08:05 -05:00

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

src/types/plugin.ts:51


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

PluginResult

Defined in

src/types/plugin.ts:53


name

Optional name: string

Defined in

src/types/plugin.ts:50


type

type: Init

Defined in

src/types/plugin.ts:52