Skip to main content

Class: ChatInputInteractionOptions

Hierarchy

  • Base

    ChatInputInteractionOptions

Constructors

constructor

new ChatInputInteractionOptions(app, interaction)

Parameters

NameType
appApp
interactionChatInputInteraction

Overrides

Base.constructor

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:11

Properties

app

app: App

Inherited from

Base.app

Defined in

packages/disploy/src/structs/Base.ts:4


interaction

Private interaction: ChatInputInteraction

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:11

Methods

getNumber

getNumber(key): number

Parameters

NameType
keystring

Returns

number

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:29


getString

getString(key): string

Parameters

NameType
keystring

Returns

string

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:25


getValue

Private getValue<T>(key): T

Type parameters

NameType
Textends APIApplicationCommandInteractionDataOption

Parameters

NameType
keystring

Returns

T

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:15