BotManualTHE COMMUNITY PLAYBOOK
English

Give members the right roles, on their own

Build role menus with clear choices, understand every mode and requirement, and test role changes without granting unwanted access.

9 min read

WHAT YOU WILL BUILD

A working interest menu that members can use to add, switch and remove their own roles.

Follow the steps, try the example and use the checklist before opening it to your community.

On this page

Your mission

Let members choose what they care about without asking staff. Our example is an interest menu with Gaming, Music and Art. Members can choose several interests and remove them later. A second example shows how to turn the same idea into an exclusive choice.

Open Role menus → Menus. Each menu is saved in its editor. The feature-wide controls in Settings use Save changes. Enable Role menus before expecting published menus to respond.

Step 1: Prepare roles and a destination

Create ordinary interest roles in Discord first. Put them below the bot's highest role and give the bot Manage Roles. In #roles, allow members to view the menu and the bot to View Channel, Send Messages and Embed Links. Reaction menus also need the relevant reaction access.

Use these roles for interests or opt-in notifications. Check the permissions they already grant: the menu hands out the actual Discord role, including any channel access attached to it. Managed roles and roles above the bot cannot be granted. Roles with privileged permissions are subject to the server's automatic-grant restrictions.

Step 2: Build the menu message

SettingMeaningExample
NameInternal name used in the menu list and /rolemenu send autocomplete.Community interests.
ChannelWhere the menu is posted. Unset keeps it unposted.#roles.
Paused / disabledPrevents members using the menu.Leave off after testing; use it while replacing choices.
TitlePublic embed heading.Find your people.
DescriptionExplains what the choices do.Pick your interests. You can change them whenever you like.
ColorEmbed accent.A color that matches your other onboarding messages.
Image / thumbnailOptional large or small image.Keep the instructions readable without the image.
FooterShort closing note.Choose as many as you like.
FieldsExtra name/value sections; inline displays short fields side by side.Explain notification frequency or channel access if needed.

The embed needs a title or description. Labels and instructions should describe the actual behavior; do not promise unlimited choices if you later set a cap.

Step 3: Pick the control style

StylePer-role fieldsBest fit
ButtonsRole, optional label, emoji and button color. Blank label uses the role name.A few easy-to-scan choices; up to five buttons per row.
Select menuRole, label, emoji and optional option description.A longer list in a compact dropdown.
ReactionsRole and a required unique emoji.A familiar reaction-based menu.

Menus support up to 25 roles; reaction menus support 20. Do not repeat the same role in one menu. In a reaction menu, each choice must also have its own emoji.

For our example choose Select menu, add the three roles and use Choose your interests as the placeholder. Set the minimum selection to 0 and maximum to 3. Zero minimum allows a member to clear every interest.

Step 4: Choose the behavior deliberately

Style controls appearance. Mode controls what happens to roles.

ModeOn a button or reactionOn a select menu
NormalMembers can add and remove roles.Their selection becomes their roles from this menu; deselected menu roles are removed.
UniqueSwitching to a role removes their other roles from this menu.At most one choice is effective.
VerifyAdds roles only.Adds the selected roles without removing existing ones.
DropRemoves roles only.Removes the selected roles.

Maximum roles limits the number of this menu's roles a member may hold. The default 0 means no additional menu cap. Select-menu bounds are also limited by the mode and the maximum-role cap. Minimum choices cannot be greater than maximum choices.

Use Normal and no extra cap for the interest example. For an exclusive region menu, choose Unique instead. Unique applies to roles in that menu; it does not remove unrelated roles elsewhere in the server.

Step 5: Set requirements only where needed

RequirementBehaviorExample
Required rolesA member must hold a selected role before a new role is added.Require Member for an event-access menu.
Require allOff means any one required role is enough; on requires every selected role.Member and Event participant for a restricted event room.
Blocked rolesMembers holding one of these roles cannot gain roles through the menu.Block a temporary Restricted role.
Minimum levelDefaults to 0, which disables this check. Uses Levels; an unknown level counts as 0.Require level 5 for a regular-member lounge.

Requirements are checked when adding a role. They do not continuously strip a role because a member later loses eligibility. Do not select the same role as both required and blocked; the configuration rejects that conflict.

Keep the basic interest menu open to all verified members. Add requirements when they serve a clear purpose, then explain them in the menu description so a refused click is understandable.

Step 6: Set logging and reaction feedback

Feature settingDefaultEffect
Log channelNoneOptional record of role changes made through menus.
Reaction DMOffReaction menus cannot show the same private interaction reply as buttons; optionally send the result by DM.
Remove reactionOnIn Verify and Drop reaction menus, clears the member's reaction after the action.

Button and select-menu changes give private feedback. Save changes after adjusting these feature-wide settings. Choose a log channel that staff can read and the bot can post in.

Step 7: Publish and keep it in sync

Save the menu with its channel selected. The bot synchronizes menu messages on a short background cycle. A saved edit updates the existing post; moving the menu to another channel replaces the old post. Clearing its channel removes its post.

If somebody deletes the Discord message, the bot deliberately does not immediately recreate it. Use Re-post, save another menu change or /rolemenu send when you want it back. Using the command with a different channel changes the menu's destination.

Test the member experience

  1. Open the menu as a normal member, select Gaming and Music, and confirm both roles appear.
  2. Keep only Music selected. Confirm Gaming disappears and unrelated roles remain.
  3. Clear the selection. Confirm Music disappears; if this is not possible, check the select minimum.
  4. For a Unique menu, switch choices and confirm the previous menu role is removed.
  5. Test one ineligible member if requirements are configured. Confirm the refusal explains the problem.
  6. Check the log destination and the saved editor state.

Run a controlled acceptance test

Test each menu mode with an ordinary member

Create two harmless roles below the bot and a small test menu. In normal mode, add a role and remove it again. In unique mode, choose the first role and then the second: the second selection replaces the other role from that menu. A menu role limit is scoped to the roles in that menu, not the member's total number of Discord roles.

In give-only mode, confirm that the menu can add the role but cannot use the same interaction to remove it. In remove-only mode, start with the role already held and test removal. For a select menu, inspect the final selection as a set; normal and unique menus reconcile the member's menu roles with the submitted selection. Do not assume that a multi-select submission behaves like a sequence of unrelated button clicks.

Isolate eligibility from role delivery

Require two test roles and compare any-of with all-of. Then test a blocked role and a minimum Levels requirement independently. Requirements are checked when adding roles; a refusal to add is different from a member choosing to remove an existing role. If the required level cannot be determined, do not treat the member as having passed the threshold.

After a successful interaction, inspect the actual role list. Missing roles, integration-managed roles and roles at or above the bot's highest role cannot be assigned normally. Correct the specific hierarchy or permission problem, then retry with the same member. Keep the menu message available to that member while checking; an administrator's ability to see the panel does not prove its public accessibility.

Diagnose actual bot responses

Use the response to identify the failing stage before changing settings. The messages below are referenced by this feature’s current handlers. Values in square brackets represent the member, amount, time or other live detail supplied in Discord; they are not text to enter. Different actions can use different guards, so this list is a diagnostic reference, not a claim that every message appears in every workflow.

Response or conditionAdmin investigation and next step
This role menu no longer exists.Inspect the current state and use a current record or interaction. Decide whether a new operation is intended before recreating something that may already have settled.
This role menu is turned off right now.Check the feature, subsection and required dependency in the saved server setup. Decide whether availability is intentional before changing it, then repeat one controlled example.
This menu only gives roles — you already have [role].Open the existing record and confirm its current result before creating a replacement. An already-completed response can indicate that the first action succeeded.
This menu only removes roles — you don't have [role].Inspect this member’s eligibility and the server’s policy for this operation. Establish which condition failed before changing roles or making an exception.
I'm missing the Manage Roles permission.Inspect the bot’s effective permission in the exact destination and the relative position of any role it must manage. Re-test the original action after correcting the specific missing access.
[roles] has dangerous permissions, so it can't be handed out automatically. A server admin can allow it under Privileged roles in the the bot dashboard.Inspect the bot’s effective permission in the exact destination and the relative position of any role it must manage. Re-test the original action after correcting the specific missing access.

After a correction, repeat the original action with the affected member permissions and inspect its final state. For a reward, payment, role change or public post, verify what already completed before applying a manual replacement. Keep the record identifier and response in your staff notes so a second admin can follow the same incident.

When something looks wrong

SymptomInspectRecovery
Role cannot be addedManage Roles, hierarchy, managed status and grant restrictions.Use a grantable role below the bot.
Member cannot remove a roleVerify mode or minimum selection above zero.Choose Normal / minimum zero for an opt-out menu.
Picking one removes anotherUnique mode or select replacement behavior.Adjust the mode or explain the intended selection model.
Level requirement failsMember's actual Levels progress.Check their rank and whether Levels is configured.
Post vanished after moving the menuMenu synchronization.Look in its newly selected channel.
Deleted post stays deletedRe-post suppression.Use Re-post instead of waiting for an automatic replacement.

Launch checklist

  • Menu labels explain the purpose of every choice.
  • Add, remove and switch behavior match the description.
  • Requirements work for both eligible and ineligible members.
  • No opt-in role grants unintended staff access.
  • The posted message reflects the latest saved menu.

For a single reminder button inside an event post, use the Announcements workshop.

Commands for this feature

CommandWhat it doesOptions
/rolemenu sendPost or re-post a role menumenu requiredThe role menuWhole number · Minimum: 1 · Choose from the matching suggestionschannel optionalChannel to post in (defaults to the menu's channel)Select a channel

Find an answer

Search features, commands and the full text of every guide.

Start typing to find a guide.

Browse all guides