class SlashCommandInteraction
extends Interaction
import { SlashCommandInteraction } from "https://deno.land/x/harmony@v2.8.0/src/structures/applicationCommand.ts";
Constructors
new
SlashCommandInteraction(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