İçeriğe geç
sern

SlashCommand

Extends

  • Module

Properties

description

description: string

Overrides

Module.description

Source

src/types/core-modules.ts:118


execute()

execute: (ctx, args) => unknown

Parameters

ctx: Context

args: ["slash", SlashOptions]

Returns

unknown

Overrides

Module.execute

Source

src/types/core-modules.ts:120


name?

optional name: string

Inherited from

Module.name

Source

src/types/core-modules.ts:33


onEvent

onEvent: ControlPlugin<any[]>[]

Inherited from

Module.onEvent

Source

src/types/core-modules.ts:34


options?

optional options: SernOptionsData[]

Source

src/types/core-modules.ts:119


plugins

plugins: InitPlugin<any[]>[]

Inherited from

Module.plugins

Source

src/types/core-modules.ts:35


type

type: Slash

Overrides

Module.type

Source

src/types/core-modules.ts:117