class ApplicationCommandInteraction
extends Interaction
import { ApplicationCommandInteraction } from "https://deno.land/x/harmony@v2.6.0/src/structures/applicationCommand.ts";
Constructors
new
ApplicationCommandInteraction(client: Client,
data: InteractionPayload,
others: { channel?: TextChannel | GuildTextChannel; guild?: Guild; member?: Member; user: User; resolved: InteractionApplicationCommandResolved; },
Properties
Data sent with Interaction. Only applies to Application Command
readonly
options: InteractionApplicationCommandOption[]Application Command options. Sub Command (and Group) nesting is stripped off for this
resolved: InteractionApplicationCommandResolved
Resolved data for Snowflakes in Slash Command Arguments
readonly
targetMessage: Message | undefinedTarget Message object. Only valid for Message Context Menu commands
readonly
targetUser: User | undefinedTarget User object. Only valid for User Context Menu commands