The base interaction interface.
Properties
Parameter
Type
Required
Description
id
string
true
ID of this command.
type
InteractionType
The type of interaction.
data
InteractionData
The data used by this interaction.
guild
Discord.Guildarrow-up-right
The guild this command has been executed in.
channel
Discord.TextChannelarrow-up-right
The channel this command has been executed in.
member
Discord.GuildMemberarrow-up-right
The member that executed this command.
client
Discord.Clientarrow-up-right
the client tis interaction uses.
handler
SlashCommandHandler
The command handler this interaction uses.
Last updated 5 years ago