Files
website/docs/api/interfaces/BothCommand.md
2022-12-28 22:43:41 +03:00

2.4 KiB

id, title, sidebar_label, sidebar_position, custom_edit_url
id title sidebar_label sidebar_position custom_edit_url
BothCommand Interface: BothCommand BothCommand 0 null

Hierarchy

Properties

alias

Optional alias: string[]

Defined in

src/types/module.ts:62


description

Optional description: string

Inherited from

Module.description

Defined in

src/types/module.ts:38


execute

execute: (ctx: Context, args: Args) => unknown

Type declaration

▸ (ctx, args): unknown

Parameters
Name Type
ctx Context
args Args
Returns

unknown

Overrides

Module.execute

Defined in

src/types/module.ts:64


name

Optional name: string

Inherited from

Module.name

Defined in

src/types/module.ts:37


onEvent

onEvent: EventPlugin<Both>[]

Defined in

src/types/module.ts:60


options

Optional options: (SernSubCommandData | SernSubCommandGroupData | BaseOptions)[]

Defined in

src/types/module.ts:63


plugins

plugins: CommandPlugin<keyof CommandModuleDefs>[]

Defined in

src/types/module.ts:61


type

type: Both

Overrides

Module.type

Defined in

src/types/module.ts:59