Class: ChatInputInteractionOptions
Hierarchy
Base
↳
ChatInputInteractionOptions
Constructors
constructor
• new ChatInputInteractionOptions(app
, interaction
)
Parameters
Name | Type |
---|---|
app | App |
interaction | ChatInputInteraction |
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
Name | Type |
---|---|
key | string |
Returns
number
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:29
getString
▸ getString(key
): string
Parameters
Name | Type |
---|---|
key | string |
Returns
string
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:25
getValue
▸ Private
getValue<T
>(key
): T
Type parameters
Name | Type |
---|---|
T | extends APIApplicationCommandInteractionDataOption |
Parameters
Name | Type |
---|---|
key | string |
Returns
T
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:15