📝
SlashDiscord.js
  • SlashDiscord.js (1.0.0)
  • Getting Started
    • Installation
    • Creating your first command
    • Inviting your bot
    • Sharding
  • Documentation
    • SlashCommandHandler
      • SlashCommandOptions
      • ClientLike
    • SlashCommand
      • ApplicationCommand
      • ApplicationCommandOption
      • ApplicationCommandChoice
      • ApplicationCommandType
    • SlashGuild
    • Interaction
      • IInteraction
      • InteractionData
      • InteractionOption<T = any>
      • InteractionType
      • InteractionFunction
      • InteractionMessageType
    • InteractionMessage
Powered by GitBook
On this page

Was this helpful?

  1. Documentation
  2. Interaction

InteractionData

Data containing the name and options for an interaction.

Properties

Parameter

Type

Required

Description

id

string

true

ID of the ApplicationCommand of this interaction.

name

string

true

Name of the ApplicationCommand of this interaction.

options

InteractionOption[]

false

The options of this interaction.

PreviousIInteractionNextInteractionOption<T = any>

Last updated 4 years ago

Was this helpful?