📝
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

InteractionOption<T = any>

The options of an interaction.

Properties

Parameter

Type

Required

Description

name

string

true

The name of this option.

value

T

false

The value of this option.

options

InteractionOption[]

false

The child options of this option.

PreviousInteractionDataNextInteractionType

Last updated 4 years ago

Was this helpful?