# Enter & Exit Messages

## Styles

There are 3 different styles to choose from - <mark style="color:yellow;">Text, Card, and Image</mark>. You can click the <mark style="color:yellow;">Example</mark> button to preview how messages will look.

<figure><img src="https://1547441923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUvYr450XNfPejfgKFhf%2Fuploads%2Fi1s3Qx6slRoRvRrsDUMX%2Fimage_2024-03-15_191454925.png?alt=media&#x26;token=96a3f62d-dac1-4c01-8bbb-649f12cbe60b" alt=""><figcaption><p>"Text" Style</p></figcaption></figure>

<figure><img src="https://1547441923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUvYr450XNfPejfgKFhf%2Fuploads%2F5AhmnThbjcf0IlKIeviL%2Fimage.png?alt=media&#x26;token=8a72f3a5-bb4f-4a43-ad5b-234f342cd76f" alt="" width="267"><figcaption><p>"Card" Style</p></figcaption></figure>

<figure><img src="https://1547441923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUvYr450XNfPejfgKFhf%2Fuploads%2FD5Qi1opLtQR7itxYHurS%2Fimage.png?alt=media&#x26;token=0a870b27-5779-4dc2-9e55-2b429c6932e4" alt="" width="276"><figcaption><p>"Image" Style</p></figcaption></figure>

## Message

You can customize the message to be displayed. If no message is specified, a default message will be sent. You can also add variables to the message:

* <mark style="color:yellow;">!SERVER!</mark> - The name of the server
* <mark style="color:yellow;">!MEMBERS!</mark> - The member count for the server (including the new user)
* <mark style="color:yellow;">!USER!</mark> - The user as a mention (@Shaynicide)
* <mark style="color:yellow;">!NAME!</mark> - The user's [display name](#user-content-fn-1)[^1]
* <mark style="color:yellow;">!RANDOM!</mark> - Replaces the entire message with a randomly selected one each time

[^1]: On exit, the user's global display name


---

# 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://shaynicide.gitbook.io/starbot/settings-menu/enter-and-exit-messages.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.
