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:23
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:23
resolved
• Private resolved: ChatInputInteractionResolvedOptions
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:21
Methods
getAttachment
▸ getAttachment(key): Attachment
Parameters
| Name | Type | 
|---|---|
key | string | 
Returns
Attachment
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:93
▸ getAttachment(key, nullable): Attachment
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | false | 
Returns
Attachment
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:94
▸ getAttachment(key, nullable): undefined | Attachment
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | boolean | 
Returns
undefined | Attachment
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:95
getBoolean
▸ getBoolean(key): boolean
Parameters
| Name | Type | 
|---|---|
key | string | 
Returns
boolean
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:59
▸ getBoolean(key, nullable): boolean
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | false | 
Returns
boolean
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:60
▸ getBoolean(key, nullable): undefined | boolean
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | boolean | 
Returns
undefined | boolean
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:61
getChannel
▸ getChannel(key): BaseChannel
Parameters
| Name | Type | 
|---|---|
key | string | 
Returns
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:84
▸ getChannel(key, nullable): BaseChannel
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | false | 
Returns
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:85
▸ getChannel(key, nullable): undefined | BaseChannel
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | boolean | 
Returns
undefined | BaseChannel
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:86
getInteger
▸ getInteger(key): number
Parameters
| Name | Type | 
|---|---|
key | string | 
Returns
number
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:52
▸ getInteger(key, nullable): number
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | false | 
Returns
number
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:53
▸ getInteger(key, nullable): undefined | number
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | boolean | 
Returns
undefined | number
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:54
getMember
▸ getMember(key): PartialGuildMember
Parameters
| Name | Type | 
|---|---|
key | string | 
Returns
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:75
▸ getMember(key, nullable): PartialGuildMember
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | false | 
Returns
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:76
▸ getMember(key, nullable): undefined | PartialGuildMember
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | boolean | 
Returns
undefined | PartialGuildMember
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:77
getNumber
▸ getNumber(key): number
Parameters
| Name | Type | 
|---|---|
key | string | 
Returns
number
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:45
▸ getNumber(key, nullable): number
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | false | 
Returns
number
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:46
▸ getNumber(key, nullable): undefined | number
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | boolean | 
Returns
undefined | number
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:47
getString
▸ getString(key): string
Parameters
| Name | Type | 
|---|---|
key | string | 
Returns
string
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:38
▸ getString(key, nullable): string
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | false | 
Returns
string
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:39
▸ getString(key, nullable): undefined | string
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | boolean | 
Returns
undefined | string
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:40
getUser
▸ getUser(key): User
Parameters
| Name | Type | 
|---|---|
key | string | 
Returns
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:66
▸ getUser(key, nullable): User
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | false | 
Returns
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:67
▸ getUser(key, nullable): undefined | User
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | boolean | 
Returns
undefined | User
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:68
getValue
▸ Private getValue<T>(key, nullable): undefined | T
Type parameters
| Name | Type | 
|---|---|
T | extends APIApplicationCommandInteractionDataOption | 
Parameters
| Name | Type | 
|---|---|
key | string | 
nullable | boolean | 
Returns
undefined | T
Defined in
packages/disploy/src/structs/ChatInputInteractionOptions.ts:28