# Send a Message with attached buttons

{% hint style="info" %}
Buttons and menu options will now no longer trigger the 'thinking...' response when clicked or selected. This means you can have interactions that trigger no response at all if you wish.
{% endhint %}

The Send a Message with attached Buttons can be used to Send/edit a Message with buttons to a channel. Actions can be attached to each button separately. When a button is clicked, corresponding Actions will be executed.

## Message

Messages from the bot can either be a [<mark style="color:blue;">**Plain Text Message**</mark>](#plain-text-message) or a [<mark style="color:blue;">**Embed Message**</mark>](#embed-message). You can switch between these two options with the toggle in the image below.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2Fb2lSVkLInA8ZE1yUqEL8%2FBildschirm%C2%ADfoto%202023-02-10%20um%2005.04.54.png?alt=media&#x26;token=3b4d825e-f99b-4cee-8aeb-e99534ce14df" alt=""><figcaption></figcaption></figure>

### Plain Text Message

#### Content

The content of the action is the actual message that the bot should reply with when the action is triggered. You can use any variable or option in the content of this reply. These can be easily added through the variable selector by clicking the **Clipboard** button.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2Fh0HnaxCAU084btmj2urT%2FBildschirm%C2%ADfoto%202023-02-10%20um%2005.05.59.png?alt=media&#x26;token=f06de735-2767-424b-9d83-687443033ffe" alt=""><figcaption></figcaption></figure>

### Embed Message

When triggered, the action responds with an embedded plain text message. All variables and options can be used in the content of the reply.

#### Author

The author is displayed in the top left of the embed. This can be the author who used the command or any information you wish to display.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2F8tHMF7eef0Vh87BU4SQi%2Fimage.png?alt=media&#x26;token=7b867685-e8a4-48af-9f69-a8a12051d142" alt=""><figcaption></figcaption></figure>

#### Thumbnail URL

You can include a thumbnail embedded into the Embed Reply. This will display in the top right of the Embed.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FHfr7inarKoo1H4DVCBnk%2Fimage.png?alt=media&#x26;token=354eb767-d154-4c1d-97ea-b2091808a0ac" alt=""><figcaption></figcaption></figure>

#### Title

This is the title you wish to display in your Embed Reply. This will be centered above your Content Block.

#### Content

The content of the action is the actual message that the bot should reply with when the action is triggered. You can use any variable or option in the content of this reply. These can be easily added through the variable selector by clicking the **Clipboard** button.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2Fuq3hZKn3ibrQW2eWFvh8%2Fimage.png?alt=media&#x26;token=2a29a77b-b76b-49b8-ac7f-2572373cd7f7" alt=""><figcaption></figcaption></figure>

#### Image URL

This will display an image in full view under the Content Block.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FkAq2iBYIGxbypuIJwLMg%2Fimage.png?alt=media&#x26;token=77f5a325-a433-4fa8-857f-d9bbb43572f4" alt=""><figcaption></figcaption></figure>

#### Footer

This is the small text at the bottom left of the embed.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FKMuLJWScDGzJFnXkKENH%2Fimage.png?alt=media&#x26;token=c676807c-7e67-4f3f-a607-6f7048ee25a8" alt=""><figcaption></figcaption></figure>

#### Embed URL

This will display the Title of the embed in blue text, you can click this to open an external page or image.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2Fs2mnTUq138Mxu2qqabuT%2Fimage.png?alt=media&#x26;token=c833a511-110d-4816-888e-48fb67038213" alt=""><figcaption></figcaption></figure>

#### Color

This is the color shown on the Left Side of the Embed Reply.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2Fv14qG5jIj1jOFGDV3Nnx%2Fimage.png?alt=media&#x26;token=74aa2371-fb27-4456-bb8a-c56a295a0b10" alt=""><figcaption></figcaption></figure>

## Response Type

| Type                                                  | Description                                                                                                                                                                                |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Reply to the command                                  | In commands, by selecting this response type your Embed Reply message will be sent as a reply to the command. This will show who used the command and what command triggered the response. |
| Send a message to a channel                           | The message will be sent to the channel specified in either the Channel ID, Channel Option or the specific channel dropdown.                                                               |
| Send a message to the channel the command was used in | The message will be sent to the channel that the user triggered the command in.                                                                                                            |
| Direct message the user who triggered the command     | The message will be sent trough a direct message to the user that triggered the command.                                                                                                   |
| Direct message using a user option                    | The message will be sent through a direct message to given user option.                                                                                                                    |
| Direct message using a user id                        | The message will be sent through a direct message to given user id.                                                                                                                        |
| Edit a message send by another action                 | By selecting this response type you are able to edit the message sent by another action in the command or event tree.                                                                      |

## Reactions

Reactions can also be added to the plain text reply. These can be added by clicking the reactions dropdown and selecting emojis.&#x20;

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2Fvw2uksjnNkxsBrzI3wCw%2FScreenshot%202023-02-01%20at%202.10.09%20PM.png?alt=media&#x26;token=b66e5bdd-d35a-454e-ae4b-47f44774c34e" alt=""><figcaption></figcaption></figure>

These reactions will be automatically added to the plain text reply.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2F2ajzP4dbTdDadzsuMUFV%2Fimage.png?alt=media&#x26;token=956e7660-1c2b-4a4c-974b-ce88055da934" alt=""><figcaption></figcaption></figure>

## Hide Button replies

Button responses from actions connected can be hidden so that only the person who pushed the button sees them. This can be also chosen separately in any Response Action.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FF9bNseja12laqRTbqZYf%2FBildschirm%C2%ADfoto%202023-02-10%20um%2009.11.36.png?alt=media&#x26;token=546852c9-5483-4525-9315-1d759fdf39b0" alt=""><figcaption></figcaption></figure>

## Buttons

Buttons are interactive components that render in messages. They can be clicked by users, and send an interaction to your bot when clicked.

#### Button Text

The following field can be used to set the text that the button should display:

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FB8HQurLjUrzZytvQPpkO%2FBildschirm%C2%ADfoto%202023-02-10%20um%2005.10.39.png?alt=media&#x26;token=82cfd27a-dd49-4ad8-8ace-3d31355ebae8" alt=""><figcaption></figcaption></figure>

The user would see these things:

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FQVOy2kJYycJ6xOAjOEg7%2FBildschirm%C2%ADfoto%202023-02-10%20um%2005.10.13.png?alt=media&#x26;token=75af0ec9-7d85-43fd-bcfb-19f450618a5d" alt=""><figcaption></figcaption></figure>

#### Button Style

Here, you can set the Button's style. Blue, Gray, Green, and Red are supported at this time. Here are a few examples:

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FnLFgefcZwTQL4WovrOFR%2FBildschirm%C2%ADfoto%202023-02-10%20um%2005.13.26.png?alt=media&#x26;token=e1d01033-58c6-49c7-a792-3804370fac0f" alt=""><figcaption><p>Blue</p></figcaption></figure>

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FpWGgVM7P99pyUmiaEGQA%2FBildschirm%C2%ADfoto%202023-02-10%20um%2005.14.33.png?alt=media&#x26;token=a326b6f1-f91b-4b86-bc6f-f2d7edb25b36" alt=""><figcaption><p>Green</p></figcaption></figure>

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FkEKfBpxPM1z10Xh4sdyN%2FBildschirm%C2%ADfoto%202023-02-10%20um%2005.14.15.png?alt=media&#x26;token=b346c6c0-8e88-4868-9ac8-fe6266136445" alt=""><figcaption><p>Gray</p></figcaption></figure>

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2F3wxw3bZECU06EpNXnvig%2FBildschirm%C2%ADfoto%202023-02-10%20um%2005.13.57.png?alt=media&#x26;token=8414bb5a-311d-4231-b9c6-63e47d2f3d3a" alt=""><figcaption><p>Red</p></figcaption></figure>

Additionally, the style "Link" is an option, when the user clicks this button he will be redirected to given site:

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FcuLOBtbp3u69EEPLFjNO%2FBildschirm%C2%ADfoto%202023-02-10%20um%2012.32.03.png?alt=media&#x26;token=d25999e9-e9a9-4116-b538-d3ae5d0445dc" alt=""><figcaption></figcaption></figure>

### **Emoji Buttons**

You can specify a custom emoji id or default emoji to add to the emoji along with the normal button label.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FpVmvQVrlm9Qh8p2Atnbz%2Fimage.png?alt=media&#x26;token=db93b182-c570-4c24-9917-21519f6f96df" alt=""><figcaption></figcaption></figure>

#### **Disable button after use**

After the button has been pressed, you can decide whether or not it should be disabled. These Fields will be displayed if "Yes" is selected:

| Field           | Description                                                       | Image                                                                                                                                                                                                                                                           |
| --------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Clicks Required | How many times the button will need to be clicked to be disabled. | ![](https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2F7dv2VVK6xbDEkq39UVc9%2FBildschirm%C2%ADfoto%202023-02-10%20um%2012.34.52.png?alt=media\&token=290b0d1f-773d-41b4-854b-0faa4346d947) |
| Disabled Text   | What the button's text should read after being disabled.          | ![](https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2F5fZ0shOJJlB0nwPFHh1Z%2FBildschirm%C2%ADfoto%202023-02-10%20um%2012.35.08.png?alt=media\&token=28fa2888-9cdb-4698-b727-157f1a19062a) |
| Disabled Style  | The Style that the button will adopt to after being disabled.     | ![](https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FiEVi5KiTpmZlLC5NZ69T%2FBildschirm%C2%ADfoto%202023-02-10%20um%2012.35.25.png?alt=media\&token=1fb8488c-b392-4df9-88ce-2f2b7317d329) |

#### **Enable cooldown for this button**

After the button has been pressed there can be a cooldown. In this time the button is locked. These Fields will appear if "Yes" is selected:

| Field             | Description                                                            | Image                                                                                                                                                                                                                                                           |
| ----------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Cooldown Type     | If the Cooldown should be user specific or global for the whole guild. | ![](https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FzS2rPnVBt3Yhd4DcEbxK%2FBildschirm%C2%ADfoto%202023-02-10%20um%2012.39.19.png?alt=media\&token=8341db79-c7aa-42a1-86fb-426fc634e0e3) |
| Cooldown Duration | How long the Cooldown  in seconds should be.                           | ![](https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FqsT7G6Y9IeAvu2AweH3x%2FBildschirm%C2%ADfoto%202023-02-10%20um%2012.39.47.png?alt=media\&token=ab65bf5a-8c0d-45f7-bc1d-9823037d121d) |
