BotFrame
Skip to content

Quick-start template · Free

Self-serve roles

Let members opt into notifications without asking a moderator. A moderator runs /roles once; members use the posted button to add or remove their Notifications role.

Self-serve roles template open in the BotFrame workflow editor

What happens in Discord

Example interaction

Member action
/roles, then click Toggle notifications
Bot behavior
Creates a Notifications role if needed, posts its button, and lets each member toggle that role on and off.
  1. /roles: check Manage Roles
  2. Create or reuse Notifications
  3. Post the button
  4. Button click: toggle the stored role

Choose it during setup

Create a workspace and select Self-serve roles on the template screen. Connect your own Discord bot, deploy it, then choose Add bot to server. The link below opens workspace setup; it does not preselect a template.

All six quick-start templates can deploy on Free, within its one-bot, one-server and 5,000 monthly workflow-run limits. Free bots use BotFrame branding. Editing a template can introduce paid features; check deployment eligibility after changing it.

Settings worth checking

Self-serve roles: configuration
SettingWhat to check
Setup permissionThe person running /roles needs Manage Roles. Ordinary members cannot configure the role panel.
RoleThe template creates Notifications with no permissions and remembers it for this server. Keep it below the bot’s highest role.
ButtonThe label can change. If you change its Custom ID, update the matching interaction trigger too.
Role behaviorThe Reaction role action is used in toggle mode after a button interaction. Despite its name, this path does not require a reaction event.

Check these outcomes

Self-serve roles: test checklist
Try thisExpected outcome
Moderator runs /roles twiceThe stored role is reused rather than creating a second Notifications role.
Member clicks twiceThe first click adds the role; the second removes it.
Ordinary member runs /rolesNo role or panel is created.
The bot is below NotificationsAssignment fails until the role order is corrected.

Use the simulator walkthrough to check the flow before trying it in a test server. A simulated result does not confirm the live bot’s Discord access.

What this template does not do

This is an opt-in notification role, not identity verification. Do not give the role sensitive permissions. It uses buttons and is available on Free; listening for emoji reaction events is a separate Plus/Pro feature.

Make it yours

Change the panel message and button label to explain what subscribers will receive. Keep the role stored for this server instead of accepting an arbitrary role from the member.

Open the node references: Member has permission · Create role · Send components · Button or select used · Reaction role.