Class: ChatInputInteraction
Hierarchy
CommandInteraction↳
ChatInputInteraction
Constructors
constructor
• new ChatInputInteraction(app, raw)
Parameters
| Name | Type |
|---|---|
app | App |
raw | APIChatInputApplicationCommandInteraction |
Overrides
CommandInteraction.constructor
Defined in
packages/disploy/src/structs/ChatInputInteraction.ts:12
Properties
app
• app: App
Inherited from
CommandInteraction.app
Defined in
packages/disploy/src/structs/Base.ts:4
commandId
• commandId: string
The ID of the command.
Inherited from
CommandInteraction.commandId
Defined in
packages/disploy/src/structs/CommandInteraction.ts:18
commandName
• commandName: string
The name of the command.
Inherited from
CommandInteraction.commandName
Defined in
packages/disploy/src/structs/CommandInteraction.ts:33
createdTimestamp
• createdTimestamp: number
Timestamp of when the interaction was created.
Inherited from
CommandInteraction.createdTimestamp
Defined in
packages/disploy/src/structs/BaseInteraction.ts:15
id
• id: string
The ID of the interaction.
Inherited from
CommandInteraction.id
Defined in
packages/disploy/src/structs/BaseInteraction.ts:10
member
• member: null | GuildMember
The ID of the command.
Inherited from
CommandInteraction.member
Defined in
packages/disploy/src/structs/CommandInteraction.ts:23
options
• options: ChatInputInteractionOptions
The options of the interaction.
Defined in
packages/disploy/src/structs/ChatInputInteraction.ts:10
raw
• raw: APIChatInputApplicationCommandInteraction
Defined in
packages/disploy/src/structs/ChatInputInteraction.ts:12
token
• token: string
The token of the interaction.
Inherited from
CommandInteraction.token
Defined in
packages/disploy/src/structs/BaseInteraction.ts:20
user
• user: null | User
The ID of the command.
Inherited from
CommandInteraction.user
Defined in
packages/disploy/src/structs/CommandInteraction.ts:28
Methods
deferReply
▸ deferReply(): undefined
Returns
undefined
Inherited from
CommandInteraction.deferReply
Defined in
packages/disploy/src/structs/CommandInteraction.ts:43
editReply
▸ editReply(payload): Promise<unknown>
Parameters
| Name | Type |
|---|---|
payload | APIInteractionResponseCallbackData |
Returns
Promise<unknown>
Inherited from
CommandInteraction.editReply
Defined in
packages/disploy/src/structs/CommandInteraction.ts:56
reply
▸ reply(payload): undefined
Parameters
| Name | Type |
|---|---|
payload | APIInteractionResponseCallbackData |
Returns
undefined
Inherited from
CommandInteraction.reply
Defined in
packages/disploy/src/structs/CommandInteraction.ts:49