GlobalUserCommandInteraction
A GlobalUserCommandInteraction that took place in a global context (e.g. a DM).
Properties
The id of the application the interaction is for.
The behavior of the channel the interaction was sent from.
For monetized apps, any Entitlements for the invoking user, representing access to premium Skus.
The guild's preferred locale, if invoked in a guild.
The id of the guild the invoked command is registered to, null
if the command is global.
The id of the invoked command.
The name of the invoked command.
The type of the invoked command.
The supplier used to request entities.
The behavior of the user targeted by the UserCommand.
The id of the user targeted by the UserCommand.
The type of the interaction.
Functions
Acknowledges the interaction with the intent of responding with a public message later by calling respond on the returned object.
Acknowledges the interaction with the intent of responding with a public message later by calling edit on the returned object.
Returns the initial interaction response.
Returns the initial interaction response or null
if it was not found.
Responds to the interaction with a popup modal.
Responds to the interaction with an ephemeral message.
Responds to the interaction with a public message.