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: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

NameType
keystring

Returns

Attachment

Defined in

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

getAttachment(key, nullable): Attachment

Parameters

NameType
keystring
nullablefalse

Returns

Attachment

Defined in

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

getAttachment(key, nullable): undefined | Attachment

Parameters

NameType
keystring
nullableboolean

Returns

undefined | Attachment

Defined in

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


getBoolean

getBoolean(key): boolean

Parameters

NameType
keystring

Returns

boolean

Defined in

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

getBoolean(key, nullable): boolean

Parameters

NameType
keystring
nullablefalse

Returns

boolean

Defined in

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

getBoolean(key, nullable): undefined | boolean

Parameters

NameType
keystring
nullableboolean

Returns

undefined | boolean

Defined in

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


getChannel

getChannel(key): BaseChannel

Parameters

NameType
keystring

Returns

BaseChannel

Defined in

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

getChannel(key, nullable): BaseChannel

Parameters

NameType
keystring
nullablefalse

Returns

BaseChannel

Defined in

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

getChannel(key, nullable): undefined | BaseChannel

Parameters

NameType
keystring
nullableboolean

Returns

undefined | BaseChannel

Defined in

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


getInteger

getInteger(key): number

Parameters

NameType
keystring

Returns

number

Defined in

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

getInteger(key, nullable): number

Parameters

NameType
keystring
nullablefalse

Returns

number

Defined in

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

getInteger(key, nullable): undefined | number

Parameters

NameType
keystring
nullableboolean

Returns

undefined | number

Defined in

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


getMember

getMember(key): PartialGuildMember

Parameters

NameType
keystring

Returns

PartialGuildMember

Defined in

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

getMember(key, nullable): PartialGuildMember

Parameters

NameType
keystring
nullablefalse

Returns

PartialGuildMember

Defined in

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

getMember(key, nullable): undefined | PartialGuildMember

Parameters

NameType
keystring
nullableboolean

Returns

undefined | PartialGuildMember

Defined in

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


getNumber

getNumber(key): number

Parameters

NameType
keystring

Returns

number

Defined in

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

getNumber(key, nullable): number

Parameters

NameType
keystring
nullablefalse

Returns

number

Defined in

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

getNumber(key, nullable): undefined | number

Parameters

NameType
keystring
nullableboolean

Returns

undefined | number

Defined in

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


getString

getString(key): string

Parameters

NameType
keystring

Returns

string

Defined in

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

getString(key, nullable): string

Parameters

NameType
keystring
nullablefalse

Returns

string

Defined in

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

getString(key, nullable): undefined | string

Parameters

NameType
keystring
nullableboolean

Returns

undefined | string

Defined in

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


getUser

getUser(key): User

Parameters

NameType
keystring

Returns

User

Defined in

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

getUser(key, nullable): User

Parameters

NameType
keystring
nullablefalse

Returns

User

Defined in

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

getUser(key, nullable): undefined | User

Parameters

NameType
keystring
nullableboolean

Returns

undefined | User

Defined in

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


getValue

Private getValue<T>(key, nullable): undefined | T

Type parameters

NameType
Textends APIApplicationCommandInteractionDataOption

Parameters

NameType
keystring
nullableboolean

Returns

undefined | T

Defined in

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