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:9
commandName
• commandName: string
The name of the command.
Inherited from
CommandInteraction.commandName
Defined in
packages/disploy/src/structs/CommandInteraction.ts:14
createdTimestamp
• createdTimestamp: number
Timestamp of when the interaction was created.
Inherited from
CommandInteraction.createdTimestamp
Defined in
packages/disploy/src/structs/BaseInteraction.ts:27
guild
• guild: null
| ToBeFetched
<Guild
>
The guild of the interaction.
Inherited from
CommandInteraction.guild
Defined in
packages/disploy/src/structs/BaseInteraction.ts:47
id
• id: string
The ID of the interaction.
Inherited from
CommandInteraction.id
Defined in
packages/disploy/src/structs/BaseInteraction.ts:22
member
• member: null
| GuildMember
The GuildMember who invoked the interaction.
Inherited from
CommandInteraction.member
Defined in
packages/disploy/src/structs/BaseInteraction.ts:42
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:32
user
• user: User
The User that invoked the interaction.
Inherited from
CommandInteraction.user
Defined in
packages/disploy/src/structs/BaseInteraction.ts:37
Methods
deferReply
▸ deferReply(ephemeral?
): undefined
Parameters
Name | Type | Default value |
---|---|---|
ephemeral | boolean | false |
Returns
undefined
Inherited from
CommandInteraction.deferReply
Defined in
packages/disploy/src/structs/BaseInteraction.ts:61
editReply
▸ editReply(payload
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
payload | APIInteractionResponseCallbackData |
Returns
Promise
<unknown
>
Inherited from
CommandInteraction.editReply
Defined in
packages/disploy/src/structs/BaseInteraction.ts:77
reply
▸ reply(payload
): undefined
Parameters
Name | Type |
---|---|
payload | APIInteractionResponseCallbackData |
Returns
undefined
Inherited from
CommandInteraction.reply
Defined in
packages/disploy/src/structs/BaseInteraction.ts:70