Skip to main content

Interface: ChatInputCommand

Hierarchy

Properties

description

description: string

Defined in

packages/disploy/src/commands/Command.ts:14


name

name: string

Inherited from

ApplicationCommand.name

Defined in

packages/disploy/src/commands/Command.ts:8


options

Optional options: APIApplicationCommandOption[]

Defined in

packages/disploy/src/commands/Command.ts:15


type

Optional type: ChatInput

Overrides

ApplicationCommand.type

Defined in

packages/disploy/src/commands/Command.ts:16

Methods

run

run(interaction): void | Promise<void>

Parameters

NameType
interactionChatInputInteraction

Returns

void | Promise<void>

Overrides

ApplicationCommand.run

Defined in

packages/disploy/src/commands/Command.ts:17