Make sure that Cakey Bot has the Manage Roles
permission and that the Cakey Bot's role is above the roles it is trying to assign.
Persistent Roles will auto-assign the given roles to a user when they rejoin your server. This can be excellent on VIP, Staff or Mute roles.
To add/remove a persistent role from a user you can use the !persrole <user> <role>
command.
After you have added some persistent roles to a user, they will be automatically applied to the user when they rejoin your server.
A common use case for persistent roles is to automatically re-apply a mute role when a user leaves/joins the guild to try and get rid of the mute or bypass it. By default, if you use Cakey bot's mute command (!mute <user> <reason>
), they will automatically have the mute role added as a persistent role. Note however though that this process is only automatic when you use Cakey Bot's built-in mute command. If you manually add the role through Discord's User Interface or by using a different bot, you will need to use the normal persistent role command to manually add the mute role as persistent on the given user.