🤖
FlexyBot
🤖
FlexyBot
  • General
    • Creating Discord Bot
    • Applications
    • Automations
    • Connections
    • Useful links
    • Variables
  • Modules
    • Discord
      • Triggers
        • Member Joined
        • Member Removed
        • Guild Message Created
        • Direct Message Created
        • Guild Message Reaction Added
        • Guild Message Reaction Removed
        • Message Button Clicked
        • Guild Message Deleted
        • Member Joined Voice Channel
        • Member Left Voice Channel
        • Member Deafened
        • Member Undeafened
        • User Command
        • Message Command
        • Chat Command
        • Event Created
        • Event Deleted
        • Event Interest Added
        • Event Interest Removed
        • Thread Message Created
        • Post Message Created
      • Steps
        • Conditions
          • User Has Role
          • User Does Not Have Role
        • Get Custom Emojis
        • Reply to Interaction
        • Set Presence
        • Show Modal
        • Get Emoji
        • Get Direct Message Channel
        • Get User
        • Ban Member
        • Change Member Nickname
        • Get Members by Name
        • Get Members With Roles
        • Get Member
        • Kick Member
        • Timeout Member
        • Get All Members
        • Get Members By Status
        • Add Reaction
        • Delete Message
        • Delete Messages
        • Get Message History
        • Pin Message
        • Remove Message Reaction
        • Reply to Message
        • Send Message
        • Send Typing
        • Send Direct Message
        • Unpin Message
        • Get Message
        • Wait For Button Interaction
        • Wait For Select Menu Interaction
        • Create Category
        • Create Announcement Channel
        • Create Forum Channel
        • Create Invite
        • Create Stage Channel
        • Create Text Channel
        • Delete Channel
        • Get Channel By Name
        • Make Channel Private
        • Make Channel Public
        • Move Channel
        • Sync Permissions
        • Rename Channel
        • Get Channel Category
        • Create Voice Channel
        • Disconnect Member from Voice
        • Move Voice Member
        • Set Member Deafen
        • Set Member Mute
        • Join Voice Channel
        • Leave Voice Channel
        • Play Audio
        • Verify Audio URL
        • Get Audio Duration
        • Get Connected Members
        • Defer Reply
        • Create Event
        • Close Thread Channel
        • Create Thread Channel
        • Lock Thread Channel
        • Open Thread Channel
        • Unlock Thread Channel
        • Add Roles to Member
        • Create Role
        • Delete Role
        • Get Roles by Name
        • Get Guild Roles
        • Remove Role From Member
        • Get Member Roles
        • Get Default Role
        • Set Channel Member Permission Overrides
        • Set Channel Role Permission Overrides
        • Set Role Permissions
        • Get Member Permissions
        • Create Forum Post
        • Get Guild
        • Get Channel
        • Wait for message reaction
        • Add Thread Member
        • Remove Thread Member
        • Get guilds
        • Leave guild
      • Data Types
        • Guild
        • User
        • Member
        • Message
        • Discord Timestamp
      • Tagging
    • Minecraft
    • FiveM
    • Core
      • Triggers
        • Connection Started
        • Schedule
        • Form
      • Steps
        • Date Calculator
        • Format Date
        • Get Current Date
        • Parse Date
        • Toggle Automation
        • Make Overlay
        • Download Image
        • Nothing
      • Data Types
        • Text
        • Number
        • Integer
        • Boolean
        • Color
        • Date
        • Duration
        • List
        • Object
    • Lists
      • Steps
        • Add Item to List
        • Map List Items
        • Reverse List
        • Filter List Items
        • Randomize List
        • Get List Size
        • Get List Item
    • Text
      • Steps
        • Split Text
        • Get Text Length
        • Get Characters
        • Join Text
        • Slice Text
        • Extract Numbers
    • Scripting
      • Triggers
        • Webhook
        • Function
      • Steps
        • Conditions
          • And
          • Or
          • Equals
          • Does Not Equal
          • Greater Than
          • Greater Than Or Equal
          • Less Than
          • Less Than Or Equal
          • Text Contains
          • Text Does Not Contain
          • List Contains
          • List Does Not Contain
          • List Is Empty
          • List Is Not Empty
          • Is Null
          • Is Not Null
          • Matches Regular Expression
          • Does Not Match Regular Expression
        • Only Continue If
        • If Else
        • Delay
        • For Each Loop
        • While Loop
        • Paths
        • Make HTTP Request
        • Parse JSON
        • Stringify JSON
        • Throw Exception
        • Create Text File
        • Execute Function
        • Stop Automation
        • Switch
        • Try Catch
        • Comment
        • Return
    • Variables
      • Steps
        • Create Custom Variable
        • Update Global Variable
        • Update Custom Variable
        • Create Global Variable
        • Get Global Variable Value
    • Math
      • Steps
        • Round
        • Calculator
        • Get Maximum Value
        • Get Minimum Value
        • Get Random Number
    • Database
      • Steps
        • Create Table
        • Find
        • Find One
        • Insert
        • Find Or Insert
        • Update
        • Delete
    • Reddit
      • Steps
        • Get Posts
    • OpenAI
      • Steps
        • Make Chat Completion
        • Generate Image
        • Text To Speech
        • Speech To Text
        • Create Message
    • Cache
      • Steps
        • Put
        • Get
        • Exists
        • Delete
  • Frequently asked questions (FAQ)
  • Tutorials
    • Discord Getting Started Guide
      • Connections
      • Auto Message Automation
      • Creating simple chat command
      • Sending a welcome message to new members
  • Public bot features
    • Member counter
Powered by GitBook
On this page

Was this helpful?

  1. Modules
  2. Discord
  3. Steps

Send Message

Introduction

This step allows for sending messages to a specified channel within a guild or a private (DM) channel (if the bot is custom). Message embeds can also be included.

Configuration

  1. Channel: Select the channel where the message will be sent. This is a required field.

  2. Message:

    1. Content: Input the content of the message. The message must be at least 1 character and can be up to the maximum length allowed by Discord. Supports multiline text. This is a required field.

    2. Embeds:

      1. Title: Set the title of the embed. Length must be between 1 and the maximum title length allowed by Discord. Supports multiline text.

      2. URL: (Optional) A URL to be associated with the title.

      3. Description: (Optional) Detailed description for the embed. Maximum length allowed by Discord. Supports multiline text.

      4. Color: (Optional) Choose a color for the embed.

      5. Author: (Optional) Include author information with optional name, URL, and icon URL.

      6. Thumbnail URL: (Optional) URL of the thumbnail image to be displayed in the embed.

      7. Image URL: (Optional) URL of the image to be included in the embed.

      8. Timestamp: (Optional) Add a timestamp to the embed.

      9. Footer: (Optional) Include footer text and an optional icon URL.

      10. Fields: (Optional) Add up to 25 fields, each with a name, value, and option to display inline.

    3. Attachments: A list of files to be attached to the message. Each attachment can have a description.

    4. Action Rows: A list of action rows for adding interactive components to the message. These can include:

      1. Buttons: List of buttons with customizable styles, URLs, labels, and emojis.

        1. Style: Determines the appearance of the button. Options include:

          1. Primary: A blue button, typically used for primary actions.

          2. Secondary: A grey button, used for secondary actions.

          3. Success: A green button, indicating a successful action or positive choice.

          4. Danger: A red button, often used for actions that could have negative consequences, such as deletions.

          5. Link: A button that opens a URL. This style requires the url parameter.

        2. ID: A unique identifier for the button (automatically generated).

        3. URL: The web address that the button will open when clicked. This parameter is only applicable and required if the button style is Link. It provides a way to direct users to external resources directly from the button click.

        4. Label: The text displayed on the button. This is a required field, as it informs users of the button's purpose or action. The label should be concise and clear.

        5. Emoji: An optional emoji that can be displayed on the button, adding visual interest or further context to the button's function.

      2. Select Menu: A dropdown menu for selecting options, which can be of types like text, user, role, or channel. Each select menu includes:

        • ID: A unique identifier for the select menu (automatically generated).

        • Label: A descriptive label for the select menu.

        • Options: A list of selectable options within the menu.

        • Placeholder: Text displayed when no option is selected. Optional.

        • Disabled: Whether the select menu is interactive or disabled.

Outputs

  • Message: The message that was sent. This variable contains the details of the sent message.

Permissions

  • Requires both "View Channel" and "Send Messages" permissions to send messages in a guild channel.

PreviousReply to MessageNextSend Typing

Last updated 8 months ago

Was this helpful?