BotGhost Documentation
Support ServerYouTubeMarketplaceBotGhost PremiumSign in
  • Welcome to BotGhost
  • Guidelines & Privacy
  • Changelogs 2025
    • Changelogs 2024
    • Changelogs 2023
  • BotPanel Documentation
  • Getting Started
    • Create Your First Bot
      • Create Your Second Bot
    • Invite Your Bot
    • Standard Practices
      • Advanced Practices
    • Mobile Application (PWA)
  • Support
    • BotGhost Support
    • Frequently Asked Questions
  • Premium & Priority Hosting
    • Priority Hosting
    • Our Premium Features
    • Plans & Payment Methods
    • Manage Your Subscription
    • Upgrade Your Bot
    • Refund & Cancellation Policy
    • Beta Features
  • General Settings and Collaboration
    • Settings
    • Collab
    • Status
    • Active Developer Badge
    • Marketplace
  • Custom Commands & Events
    • Command & Event Builder
      • Sharing Commands and Events
      • Advanced Options
    • Actions
      • Message Actions
        • Send or Edit a Message
          • Button
          • Select Menu
        • Edit a Button or Select Menu
        • Send a Form
        • Delete a Message
        • Publish a Message
        • React to a Message
        • Pin a Message
      • Custom Variable Actions
        • Set Variable
        • Run Equation on Variable
        • Delete Variable
      • API Actions
        • Send an API Request
        • Execute an IFTTT Trigger
      • Loop Actions
        • Run a Loop
        • Stop a Loop
      • Voice Actions
        • Join a Voice Channel
        • Leave a Voice Channel
        • Voice Move a Member
        • Voice Kick a Member
        • Voice Mute or Unmute a Member
        • Voice Deafen or Undeafen a Member
      • Role Actions
        • Add Roles
        • Remove Roles
        • Create a role
        • Delete a role
        • Edit Role
      • Channel Actions
        • Create a channel
        • Edit a channel
        • Delete a channel
      • Thread and Forum Actions
        • Create a Thread
        • Edit a Thread
        • Delete a Thread
      • Server Actions
        • Kick a member
        • Ban a member
        • Timeout a member
        • Change a members nickname
        • Purge Messages
        • Create Server Invite
      • Other Actions
        • Wait before running another action
        • Manipulate some text
        • Send an error log message
        • Set a unique variable
        • Change the Bot's Status
        • Note
      • [LEGACY] Reply Actions
        • Plain Text Reply
        • Embed Reply
        • Random Reply
        • Send a message to a channel
        • Direct Message a User
        • Send a Message with attached buttons
          • Buttons
        • Send a message with a select menu
          • Menu Option
    • Conditions
      • Comparison Condition
      • Permission Condition
      • Chance Condition
      • Channel Condition
      • Role Condition
      • User Condition
      • Premium Check Condition
    • Options
      • Text Option
      • Number Option
      • User Option
      • Channel Option
      • Role Option
      • Choice Option
      • Attachment Option
    • Events
      • Timed Events
      • Webhooks
    • Data Storage
      • Collections
      • Objects
    • IFTTT
    • Variables
  • Server Management
    • Moderation
    • Discord Automod
    • Tickets
    • Welcomer
    • Verification
    • Statistic Channels
    • Modmail
    • Auto-React
    • Sticky Roles
    • Emoji Manager
    • Polls Filter
    • Automod
    • Logging
  • Messages
    • Timed Messages
    • Reaction Roles
    • Autoresponder
    • Embed Builder
    • Sticky Messages
    • Polls
    • Global Chat
    • Media Channels
  • AI
    • ChatGPT
    • Image Generation
  • Game Integrations
    • Roblox Verification
  • Social Integrations
    • YouTube
    • Twitch
  • Community Engagement
    • Leveling
    • Temp Voice Channels
    • Suggestions
    • Invite Tracker
    • Starboard
    • Question Of The Day
    • Giveaways
  • Fun Modules
    • Economy & Minigames
    • Birthdays
    • Counting
  • Utility
    • Translation
    • Weather
Powered by GitBook
On this page
  • Accessing Select Options
  • Placeholder
  • Menu Type
  • Enable Multiselect
  • Custom Variable Name
  • Disable Select Menu by Default
  • Show Select Menu Replies
  • Enable Component Ordering
  • Row
  • Position Weight
  • Remove Menu

Was this helpful?

  1. Custom Commands & Events
  2. Actions
  3. Message Actions
  4. Send or Edit a Message

Select Menu

Last updated 3 months ago

Was this helpful?

Inside of the Send or Edit a Message block, you are able to add select menus to your message.

Accessing Select Options

In order to access the options that were selected in your message, there are a few variables that you can utilize.

Variable
Information

{selected_option}

Returns the option that was selected, only appears when you have "Single Select" enabled. Example Return: 17392374

{selected_options}

Returns the options that were selected in an array format, only appears when you have "Multi Select" enabled. Example Return: 123,852,187

{selected_options.length}

Returns the length of options that were selected, only appears when you have "Multi Select" enabled.

Custom variable

Placeholder

Menu Type

The type of select menu that will appear on your message. All Discord's select menus are available.

Your menu will have simple text options which you can customize the label, description, emoji, and more.

Each basic select menu allows you to add up to 25 options. Here you can add and customize options of your select menu. Variables are supported in all fields.

Label

The text that will be displayed on the option in your menu.

Description

Additional information about your option that will appear on it's description once a user has opened the menu.

Value

The value that is attached to this option, which will be used while accessing the option(s) that were selected on your option with the menu's variable. This is an optional setting, if no value is set then your option's label will be used as it's value.

Emoji ID

The emoji that will appear on your menu's specific option, you must provide a valid emoji id or a unicode formatted emoji for default discord emojis. This is an optional setting.

Hide Option

The option to make this specific option of your menu hidden or not, meaning it will not appear on your menu. Input true in order to hide the option or input false to show this option. If no value is set here, it will appear by default.

Your menu will have roles as selectable options, you may setup roles that are selected by default and more.

Default Selected Roles

Here you may select roles that you would like to appear by default on your menu.

Default Selected Additional Roles

Here you may input role IDs or variables that you would like to appear by default on your menu. Separate each role ID or variable by commas in order to format successfully.

Your menu will have channels as selected options, you may setup channels that are selected by default and more.

Default Selected Channels

Here you may select the channels that will appear by default on your menu.

Default Selected Additional Channels

Here you may input channel IDs or variables that will appear by default on your menu. Separate each value with commas in order to format successfully.

Default Channel Types

Here you may select the channel types that will appear on your menu only.

Default Additional Channel Types

Your menu will have users in your server as selected options, you may setup server members that are selected by default and more.

Default Selected Users

Here you may input user IDs or variables that will appear as selected users on your menu by default.

Your menu will have roles and users in your server as selected options, you may setup server roles and members that are selected by default and more.

Default Selected Roles

Here you may select roles that you would like to appear by default on your menu.

Default Selected Additional Roles

Here you may input role IDs or variables that you would like to appear by default on your menu. Separate each role ID or variable by commas in order to format successfully.

Default Selected Users

Here you may input user IDs or variables that will appear as selected users on your menu by default.

Enable Multiselect

This option allows users to select more than 1 option on your menu.

If this option is selected, users may only select 1 option at a time on your menu.

If this option is selected, users may select as many options as you allow them to.

Minimum Options

The minimum amount of options users can select at a time. Input must be greater than or equal to 0.

Maximum Options

The maximum amount of options users can select at a time. The maximum value for this setting is 25.

Custom Variable Name

Here you can assign a custom variable name to access the chosen option(s) of your menu. If you don’t specify one, the default variable {selected_option} will be used. This is an optional setting.

Disable Select Menu by Default

This field allows you to decide whether your select menu should be disabled by default.. Set the value to true if you'd like to disable your menu by default. This is an optional setting and defaults to false when left blank.

Show Select Menu Replies

The option to show or hide replies to the menu of your message. If you select this to "Hide Replies", only the user who used the menu can see replies to the menu. If selected to "Show Replies", replies to your menu will be able to be seen by everyone.

Enable Component Ordering

Enabled this option to order select menus in a specific row.

Row

The row that the menu will be placed on, insert 1 to have the menu placed on the first row of components. A message can have up to 5 rows of either a select menu or 1 to 5 buttons, which is also known as lines of components.

Position Weight

The position that the menu will be ordered in on the row it was placed inside of. Menus that have a higher weight, meaning a higher number, will be placed first before other menus with lower weights. If you insert -1, this menu will not be added to your message.

Remove Menu

This setting is only available in the Edit a Button or Select Menu action block.

The Remove Menu setting allows you to remove the select menu from the message when the setting is set to true. Once removed, it can't be brought back.

The custom variable you setup in the section. It works just like {selected_option} (or {selected_options} when multi select is enabled.

The placeholder text that will appear on your menu without any options being selected. are supported here.

Here you may input channel type integers or variables that will appear on your menu only. For a list of channel type integers, see the .

Variables
Discord API documentation
Custom Variable Name