# Message Actions

The command builder offers multiple message actions. They allow you to send reply to the current interaction (command, button, select menu or even event trigger), send messages to a channel or a user or delete / update existing messages. Below you may find some general information about each block. Click on its name for more information.

<table><thead><tr><th data-type="content-ref">Block</th><th>Information</th></tr></thead><tbody><tr><td><a href="message-actions/send-or-edit-a-message">send-or-edit-a-message</a></td><td>The Send or Edit a message allows you to send a fully customizable message as a response, to a channel or as a DM. You can also attach buttons and select menus to it. With this action you can even edit a message that was previously sent by the bot.</td></tr><tr><td><a href="message-actions/edit-a-button-or-select-menu">edit-a-button-or-select-menu</a></td><td>The Edit a Button or Select Menu action allows you to update one or more components (buttons or select menus) of a message you've previously sent with your command or event.</td></tr><tr><td><a href="message-actions/send-a-form">send-a-form</a></td><td>The send a form action allows you to send to the user who ran a command, clicked a button or a select menu a custom form (also known as modal) in which the user can fill some inputs.</td></tr><tr><td><a href="message-actions/delete-a-message">delete-a-message</a></td><td>The delete a message action allows you to delete a message or a reply. You can either select one that gets sent through the same command / event or provide a specific message ID.</td></tr><tr><td><a href="message-actions/publish-a-message">publish-a-message</a></td><td>The publish a message action allows you to publish messages sent in announcement channels given their ID.</td></tr><tr><td><a href="message-actions/react-to-a-message">react-to-a-message</a></td><td>This action allows you to react with a Discord or custom emoji to any message.</td></tr><tr><td><a href="message-actions/pin-a-message">pin-a-message</a></td><td>The pin a message action allows you to pin a message that has been sent with the same command / event.</td></tr><tr><td><a href="message-actions/create-a-transcript">create-a-transcript</a></td><td>With the create a transcript action you can create a powerful transcript of up to 1000 messages.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.botghost.com/custom-commands-and-events/actions/message-actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
