> For the complete documentation index, see [llms.txt](https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/features/moderation/sticky-messages.md).

# Sticky Messages

What are sticky messages? SM are a moderation tool that automatically sends a message, after a certain amount of messages have been sent in a channel.

### Configuration

To start using sticky messages, use the /setup command in your discord. From there head to Moderation > Sticky Messages. From here you will enable which users has access to create sticky messages, view sticky messages on your server.&#x20;

### Setup

* Head to the channel you would like to add a sticky message to. You can have up to 5 sticky messages per channel.&#x20;
* Once you're in the channel, type `.stickyadd`&#x20;
* An embed will appear that says "Open Sticky Builder"\
  ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FhTDFe7T9LUPuWoyUZc0j%2Fimage.png?alt=media\&token=b237dfb7-5afe-4567-b458-bf62f4d7266e)
* Click the button and a form will appear\
  ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FUmkU3nH0K7ZpITflsQLr%2Fimage.png?alt=media\&token=e2853e74-2778-468c-a404-0947c9b60821)
* Once finished filing out what you want, you're done!

### Adding Images

To add images is super easy! All you need is an imgur account.&#x20;

* Once you've signed in upload your image to imgur
* If you hover over your image, you will see some options: \
  ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FosmtTvOUN8QY104n783f%2Fimage.png?alt=media\&token=deab1777-238e-4273-8662-740e2d6b66b5)
* Click "Get Share Links"

1. You will be presented with 4 options: Share Link, HTML Embed, **BBCode** (forums), Markdown. \
   In our case we will be using the **BBCode** link.&#x20;
2. Your BBCode link will look something similar to this \[img]<https://i.imgur.com/myimage123.png\\[/img>]
3. Remove the \[img] \[/img] from the link so its just the bare url: <https://i.imgur.com/myimage123.png>
4. Head back to your sticky form and under image URL post the bare URL, we just edited.&#x20;
5. Submit and you're done!

#### Commands:

* `.sticky` - View all sticky messages in a channel with id's
* `.stickyadd` - Add sticky in current channel
* `.stickyedit` \<id> - Edit sticky in current channel <sup><sub>\*when editing sticky messages remove the \<id> for the id example:<sub></sup> <sup><sub> </sup><sup><sub>`.stickyedit`<sub></sup> <sup><sub> </sup><sup><sub>123456<sub></sup>
* `.stickyrem` \<id> - Removes sticky in current channel <sup><sub>\*when removing a sticky messages remove the \<id> for the id example:<sub></sup> <sup><sub> </sup><sup><sub>`.stickyrem`<sub></sup> <sup><sub> </sup><sup><sub>123456<sub></sup>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/features/moderation/sticky-messages.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
