> For the complete documentation index, see [llms.txt](https://infinitybot.gitbook.io/infinitybot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitybot.gitbook.io/infinitybot-docs/onboarding/announcement-role-manager.md).

# Announcement Role Manager

The Announcement role manager will ask a users in your server if they no longer want to be pinged in an announcement channel (Useful for announcement roles!)

{% hint style="info" %}
**Did you know:** If users are annoyed by pings in a server and cant find a way to remove the ping role, they will just leave the server? This feature allowes users to easily remove ping roles, right below the announcement message, preventing server leaves!&#x20;
{% endhint %}

## Setup

You can set up the system with the `/setup announcement-role-manager` command.&#x20;

| Command Option Name | Function                                                                       |
| ------------------- | ------------------------------------------------------------------------------ |
| action              | In this option you can select what action you would like to take               |
| channel             | In this option you can select the channel where you want to run your action on |
| role                | In this option you can select the role where you want to run your action with  |

{% hint style="danger" %}
Never select a role with dangerous permissions in the role option (administrator, manage server/channels/roles, etc) as everyone will then be able to get this role!
{% endhint %}

### How it works

This system will work much like the [reaction role system](/infinitybot-docs/onboarding/reaction-roles.md), the difference is that the bot will send a message like the one below after every announcement with a role mention.&#x20;

{% hint style="info" %}
This message will not be send if the announcement does not contain the role mention.&#x20;
{% endhint %}

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FOIKE1bxKAReJ1jsSTi69%2Fimage.png?alt=media&amp;token=bd0e41f1-0c1c-4e3a-b417-b55dc990f5d9" alt=""><figcaption></figcaption></figure>

If a user no longer wants to be mentioned by the announcement role, they can press the red "Remove ping role" button.&#x20;

If they did not get pinged but want to get a notification, they can press the green "Add ping role" button.&#x20;
