> For the complete documentation index, see [llms.txt](https://thediamondroblox.gitbook.io/advancedbot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thediamondroblox.gitbook.io/advancedbot/how-do-i-setup-remove-rolepersists.md).

# How do I setup/remove rolepersists?

Setting up rolepersists with AdvancedBot.

**This is a guide on how to setup/remove rolepersists with AdvancedBot.**\
The command to add or remove rolepersist is:\
`?rolepersist`\
The command usage is:\
`?rolepersist [role]`\
The role argument supports: Role name, role mention, role id.\
The command usage example is:\
`?rolepersist @Warning 1`\
Things to make sure:\
`- You are using the right prefix while using the command.`\
`- You have the correct permissions while using the command.`\
`- AdvancedBot's top role is higher than the role which you are wanting to set as rolepersist.`\
`- The role which you are trying to rolepersist does not have any moderator/administrator permissions, the bot will not check for this but it is advisable to users to make sure about this.`\
Frequently asked questions:\
**Question 1:** What is rolepersisting or rolepersist?\
**Answer 1:** Rolepersist or rolepersisting means, giving a role to members who had a role previously but rejoined the server. \
**Question 2:** How do I remove a role and make it no longer persisted?\
**Answer 2:** You can run the rolepersist command again on the role, it will automatically remove the role from the rolepersist configuration.\
If you have any question/concern or face any difficulties with rolepersisting, you can feel free to ask in AdvancedBot's [support server](https://discord.gg/X9URYUd).<br>
