# Auto roles

### **Rationale**

If you own a server, it is likely that you want to assign a role automatically to your new members. For example, a new member joins your server and you want them to automatically be assigned a `Member` role. Yzbot can handle all of this for you if you follow the below steps.

### **Permissions**

In order for the autorole to be added, the bot **must** have the `Manage Roles` permission and the bot's highest role **must** be higher than the role you have assigned, otherwise it will not work.&#x20;

### **Managing the autorole**

In order to set the autorole, you need to type `;autorole set <role name>`, replacing \<role name> with the name of the role that you want to set as the autorole. Now, your autorole is configured and when new members join, they will receive the autorole, automatically!&#x20;

![](https://2214197333-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4KHeDkm4oqokce8Df5%2F-M4KatQDRTrJiR879Zp_%2F-M4Kh01xVZ1c-DGRNmkL%2Fimage.png?alt=media\&token=690e9949-9b50-4a9d-a55d-2b664d03103c)

There might come a time though, when you want to stop yzbot automatically giving people a role when they join. If this ever does happen, simply type `;autorole remove` and the autorole setting will be removed.

<div align="left"><img src="https://2214197333-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4KHeDkm4oqokce8Df5%2F-M4KatQDRTrJiR879Zp_%2F-M4KhM8Q-vgLh3t2JaJy%2Fimage.png?alt=media&#x26;token=953b9319-b53b-4b5f-b478-307d71026639" alt=""></div>
