# Setting Up Auto Roles

1. Go to Server Settings -&gt; Roles
2. Create a new Role. [![image.png](https://book.batlracing.com/uploads/images/gallery/2022-10/scaled-1680-/image.png)](https://book.batlracing.com/uploads/images/gallery/2022-10/image.png)
3. Go to Bot Web Manager [https://yagpdb.xyz/?err=no\_active\_guild](https://yagpdb.xyz/?err=no_active_guild)
4. Click on Control Panel, top right.
5. Log in using discord.
6. Make sure you are logged in and BATL server is selected:[![image.png](https://book.batlracing.com/uploads/images/gallery/2022-10/scaled-1680-/5SEimage.png)](https://book.batlracing.com/uploads/images/gallery/2022-10/5SEimage.png)
7. Open:[![image.png](https://book.batlracing.com/uploads/images/gallery/2022-10/scaled-1680-/Srgimage.png)](https://book.batlracing.com/uploads/images/gallery/2022-10/Srgimage.png)
8. Create New Group. There needs to be one group per message
    
    [![image.png](https://book.batlracing.com/uploads/images/gallery/2022-10/scaled-1680-/3DXimage.png)](https://book.batlracing.com/uploads/images/gallery/2022-10/3DXimage.png)
9. Create New Command. Name the Role, select group and role.
    
    [![image.png](https://book.batlracing.com/uploads/images/gallery/2022-10/scaled-1680-/vw8image.png)](https://book.batlracing.com/uploads/images/gallery/2022-10/vw8image.png)
10. Add all the commands and match the order to your message: [![image.png](https://book.batlracing.com/uploads/images/gallery/2022-10/scaled-1680-/8nIimage.png)](https://book.batlracing.com/uploads/images/gallery/2022-10/8nIimage.png)
11. Type out Message: [![image.png](https://book.batlracing.com/uploads/images/gallery/2022-10/scaled-1680-/Huiimage.png)](https://book.batlracing.com/uploads/images/gallery/2022-10/Huiimage.png)
12. Link auto role to message, use command: 
    1. ```
        -rolemenu create [group name] -nodm -m [message id]
        ```
    2. \[Group name\] - created in step 8.
    3. \[message id\] - left click on ... of the message created in step 10. Then press Copy ID.[![image.png](https://book.batlracing.com/uploads/images/gallery/2022-10/scaled-1680-/U39image.png)](https://book.batlracing.com/uploads/images/gallery/2022-10/U39image.png)
    4. Example: -rolemenu create racing -nodm -m 1030185684448850050
    5. It will ask you to respond with emoji, choose the one that corresponds to your message:[![image.png](https://book.batlracing.com/uploads/images/gallery/2022-10/scaled-1680-/BAPimage.png)](https://book.batlracing.com/uploads/images/gallery/2022-10/BAPimage.png)
13. If you need to add additional roles
    
    
    1. Add same way as in step 9.
    2. Run command: 
        1. ```
            -rolemenu update [message ID]
            ```
    3. It will ask you to select new emojis: [![image.png](https://book.batlracing.com/uploads/images/gallery/2022-10/scaled-1680-/kvDimage.png)](https://book.batlracing.com/uploads/images/gallery/2022-10/kvDimage.png)