Sticky Roles

Do you want your members to receive their roles back if they rejoin? Now they can!

Note: This module is only available to users with a Premium Subscription.

BotGhost provides a sticky roles module for its users. This module will allow server members to regain some or all of their roles upon leaving and rejoining the server. You can use and configure the module by heading to your dashboard, scrolling to the "Messages" category, and clicking on "Sticky Roles".

Role Settings

In this area, you can customize how the module functions.

Role Filtering Type: Here you may choose whether the roles you specify in another option are the only ones that can be added, or that will never be added.

Allowed/Ignored Roles: Here you may choose the roles that can/cannot be added (depending on the criteria you chose above).

Ignore Moderation Actions: Here you may toggle whether members who get kicked or banned from the server will still receive sticky roles.

Send Direct Message: Here you may toggle whether members who get roles back upon rejoining will receive a direct message with a list of those roles.

Direct Message Setup: Here you may customize the formatting and looks of your direct message. (Only shows if Send Direct Message is enabled)


Here you can find the events for the sticky roles system and modify them to your liking.

Leave Handler: This event stores the roles that a user had upon leaving the server into a custom variable.

Join Handler: This event re-assigns the stored roles that should be assigned according to the module's customization, and DMs the user if/with any roles were re-assigned (if enabled).

Warning: It's advised that you do not edit the event & commands unless you have a good understanding of BotGhost and the Custom Event Builder/Command Builder. You can always reset the module to default if you happen to make a mistake while editing the event or commands.

Last updated