Discord Bot Studio
  • Discord Bot Studio Documentation v2.0
  • Setting Up DBS
    • Create and Setup Bot With DBS [video]
    • Getting Started with DBS [text]
    • Inviting a Discord Bot to Your Server
    • Enabling Intents
    • Finding Your Bot Token
    • Using the Bot Editor
  • Response Nodes (by type)
    • Message Category
      • Send Message
      • Send Image
      • Send Embed
      • Delete Message
      • Check if Message is in Channel
    • Reaction Category
      • Add Reaction Listener
    • Variable Category
      • Store Value in Variable
      • Edit Variable
      • Check Variable Value
      • Check if Variable Exists
      • Generate Random Number
      • Get Mentioned User
    • User Data Category
      • Set User Data
      • Get User Data
      • Edit User Data
      • Check User Data
    • User Action Category
      • Add Role to User
      • Remove Role from User
    • Control Category
      • Wait
      • Switch Case
      • Multiple Input
    • Interaction Category
      • Reply To Interaction With Message
      • Get Interaction Option
      • Delete Interaction Reply
    • External Category
      • Call API
  • Running/Hosting Your Bot
    • Hosting your bot 24/7
    • Running Bot Locally
    • Multiple Bots
  • Commands
    • Message Commands
    • Kick / Ban Command
    • Purge Command
    • Role reaction menu
    • XP System
    • Ticket System
    • Command Aliases
  • Events
    • Overview
    • Event Types
      • User Joins Server
      • Any Message
      • Bot Initialization
      • Channel Create
      • Channel Delete
      • Channel Update
  • Misc
    • How to use custom emojis
    • Buttons and Selects
      • Determining which button was clicked
    • Slash Commands
    • Tagging a role
    • Tagging a channel
  • Mods
    • Creating Mods
    • Installing Mods
  • Spreadsheets
    • Using Spreadsheet Data
Powered by GitBook
On this page

Was this helpful?

  1. Response Nodes (by type)
  2. Interaction Category

Reply To Interaction With Message

Allows you to reply to an interaction event (from slash command, button, or select) with a message.

PreviousInteraction CategoryNextGet Interaction Option

Last updated 3 years ago

Was this helpful?

Interaction events in DBS are deferred by default. This is because there is an unknown amount of time that responses will take to execute, and interactions must be replied to or deferred within 3 seconds of their creation. If you are interested in learning more about how this works you can read about it here:

When the interaction is deferred, the bot will show that it is "thinking":

In order to have the bot replace this with message content, you will use this node.

Field

Description

Interaction

The interaction object to reply to

Response message text

The message content you want to resolve the interaction with

As an example- if you used this node to reply to an interaction with the text "Replying to a button click!", it would look like this:

https://discordjs.guide/interactions/replying-to-slash-commands.html#editing-responses