Persistent Roles

Give roles back to members when they rejoin, and keep mutes in place when a muted member leaves and returns.

Last updated Nov 16, 2026

Overview

Make sure that Cakey Bot has the Manage Roles permission and that Cakey Bot's role is above the roles it is trying to assign.

Persistent Role Command

Persistent Roles auto-assign the given roles to a user when they rejoin your server. This works well for VIP, Staff or Mute roles.

To add/remove a persistent role from a user you can use the /role persistent <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.

You can also view and remove persistent roles from our web dashboard. However, you can not currently add persistent roles via the web dashboard.

Persistent Mutes

A common use case for persistent roles is to automatically re-apply a mute role when a user leaves/joins the server to try and get rid of the mute or bypass it. If you use Cakey Bot's mute command (/mute <user> <reason>), they will NOT have the mute role added as a persistent role. You will have to run the persistent role command separately OR you can enable "Persistent Mutes" on the moderation section of the web dashboard to have mutes added as persistent roles automatically.

Related Commands

  • /mute Mute Members

    Mute the specified user.

    /mute <user> [reason] [is-silent]
  • /role persistent Manage Roles

    Set or remove a persistent role on a user.

    /role persistent <user> <role>
Was this page helpful?