Create and manage roles, reaction roles, permission checks and fake permissions.
Type the command in Discord and pick from the list. Discord asks for each option in turn, so you don’t need to remember the order. Options marked optional can be left out.
Main commands
/roles roles
List every role in the server.No options.
/roles role
Manage server roles.
/roles role create
Create a role above the configured base.
name: Name for the new role.
/roles role base
Set the baseline for roles created by the bot.
role: Role to use. Pick a role.
/roles role toggle
Toggle a role for a member.
user: Member to update. Pick a member.
role: Role to use. Pick a role.
/roles role add
Give a member a role.
user: Member to update. Pick a member.
role: Role to use. Pick a role.
/roles role remove
Remove a role from a member.
user: Member to update. Pick a member.
role: Role to use. Pick a role.
/roles role color
Set a solid, gradient, or holographic role colour.
role: Role to use. Pick a role.
color: Hex colour or holographic.
second_color (optional): Second gradient hex colour.
/roles role delete
Delete a role.
role: Role to use. Pick a role.
/roles role edit
Edit role visibility, mentions, or permissions.
role: Role to use. Pick a role.
hoist (optional): Show role members separately. True or false.
mentionable (optional): Allow anyone to mention the role. True or false.
permissions (optional): Comma-separated permission changes; use + or -.
/roles role rename
Rename a role.
role: Role to use. Pick a role.
name: New role name.
/roles role icon
Set a role icon from an emoji, attachment, or URL.
role: Role to use. Pick a role.
source (optional): Unicode/custom emoji or image URL.
attachment (optional): Role icon image. Attach a file.
/roles role has
Apply an action when members have a role.
condition_role: Role members must have. Pick a role.
action: Action to apply. One of grant, deny.
target_role: Role to grant or remove. Pick a role.
/roles role lacks
Apply an action when members lack a role.
condition_role: Role members must lack. Pick a role.
action: Action to apply. One of grant, deny.
target_role: Role to grant or remove. Pick a role.
/roles role members
List every member with a role.
role: Role to use. Pick a role.
/roles role bots
List bots with a role.
role: Role to use. Pick a role.
/roles role humans
List humans with a role.
role: Role to use. Pick a role.
/roles role copy
Copy a role.
role: Role to use. Pick a role.
/roles role move
Move a role to a position or above another role.
role: Role to use. Pick a role.
destination: Position number or destination role ID/name.
/roles role cleanup
Identify empty, duplicate, dangerous, and unused roles.No options.
/roles role mass-grant
Grant a role to members matching a safe condition.
role: Role to use. Pick a role.
condition: All, bots, humans, has role, lacks role, or inactive duration.
/roles role mass-remove
Remove a role from members matching a safe condition.
role: Role to use. Pick a role.
condition: All, bots, humans, has role, lacks role, or inactive duration.
/roles role restore
Give a member back their roles, or recreate a deleted role.
user (optional): Member to give back the roles they had before leaving or losing them. Pick a member.
role (optional): Or: a deleted role’s name or ID to recreate.
/roles role temporary
Give a member a role temporarily.
user: Member to update. Pick a member.
role: Role to use. Pick a role.
duration: Duration such as 30m, 2h, or 7d.
/roles reactions
Create and manage reaction roles.
/roles reactions add
Add a reaction role.
message: Message ID or link.
emoji: Unicode or custom emoji.
role: Role to toggle. Pick a role.
/roles reactions remove
Remove a reaction role.
message: Message ID or link.
emoji: Configured emoji.
/roles reactions list
List reaction roles.No options.
/roles permissions
View and explain Discord and bot permissions.
/roles permissions view
View permissions for a member or role.
user (optional): Member; defaults to you. Pick a member.
role (optional): Role instead of a member. Pick a role.
channel (optional): Include channel overrides. Pick a channel.
/roles permissions explain
Explain one permission for a member.
permission: Permission or command action, such as ban.
user (optional): Member; defaults to you. Pick a member.
channel (optional): Channel to evaluate. Pick a channel.
/roles permissions moderation
Simulate whether one member can moderate another.
action: Ban, kick, timeout, mute, purge, or nuke.
actor: Moderator to evaluate. Pick a member.
target: Target member. Pick a member.
/roles permissions map
Render a Mermaid permission-access flowchart.
channel: Channel to map. Pick a channel.
/roles fake
Grant bot-only permissions to staff roles.
/roles fake grant
Grant fake permissions.
role: Staff role. Pick a role.
permissions: Space or comma-separated permissions.
/roles fake remove
Remove fake permissions.
role: Staff role. Pick a role.
permissions: Permissions or all.
/roles fake clear
Clear all fake permissions from a role.
role: Staff role. Pick a role.
/roles fake list
List configured fake permissions.
role (optional): Optional role filter. Pick a role.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"cure","description":"Guides for cure, the all-in-one Discord bot: set-up, moderation, security, tickets, music, levels, automation and every command.","colors":{"primary":"#3B4F9A","light":"#F2CF7A","dark":"#3B4F9A"},"logo":{"light":"https://mintcdn.com/cure/JT6OLTifSCrGzVw3/images/hakase.png?fit=max\u0026auto=format\u0026n=JT6OLTifSCrGzVw3\u0026q=85\u0026s=49567bcbad50a46245e3bd5a299f1540","dark":"https://mintcdn.com/cure/JT6OLTifSCrGzVw3/images/hakase.png?fit=max\u0026auto=format\u0026n=JT6OLTifSCrGzVw3\u0026q=85\u0026s=49567bcbad50a46245e3bd5a299f1540"},"favicon":"https://mintcdn.com/cure/JT6OLTifSCrGzVw3/images/favicon.ico?fit=max\u0026auto=format\u0026n=JT6OLTifSCrGzVw3\u0026q=85\u0026s=f535ae8cf1651bbcae7734ed9aa259ee","appearance":{"default":"system","strict":false},"background":{"color":{"light":"#F5EFE3","dark":"#0F1426"}},"navbar":{"links":[{"href":"https://curebot.site/commands","label":"Commands"},{"href":"https://discord.gg/ail","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://curebot.site/dashboard"}},"footer":{"socials":{"discord":"https://discord.gg/ail"}},"search":{"prompt":"Search documentation..."},"seo":{"metatags":{"theme-color":"#111216","og:site_name":"cure documentation","description":"Guides for cure, the all-in-one Discord bot: set-up, moderation, security, tickets, music, levels, automation and every command."},"indexing":"navigable"},"fonts":{"family":"Inter"},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cure","hasAudioNarration":false,"actualSubdomain":"cure","customDomains":["docs.curebot.site"],"gitSource":{"type":"github","owner":"woo3r","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b12babfeed631096c9446ff"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b12bacceed631096c944754","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"Guides","count":54},{"language":"default","tag":"Commands","count":20},{"language":"default","tag":"For everyone","count":11},{"language":"default","tag":"Community","count":9},{"language":"default","tag":"Run your server","count":9},{"language":"default","tag":"Get started","count":8},{"language":"default","tag":"Moderation","count":8},{"language":"default","tag":"Keep your server safe","count":8},{"language":"default","tag":"For staff","count":7},{"language":"default","tag":"Messages and automation","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"/* vietnamese */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 600;\n font-stretch: 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y9H6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMnuECoAsyJBOm_OJhCCwDFXplDs.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 600;\n font-stretch: 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y9H6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMnuECoAsyJBOm_OJhCCwDVXplDs.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 600;\n font-stretch: 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y9H6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMnuECoAsyJBOm_OJhCCwA1Xp.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--cure-bg: #f5efe3;--cure-bg-soft: #ede5d4;--cure-surface: #fbf8f1;--cure-ink: #22263a;--cure-text: #45485a;--cure-muted: #66656f;--cure-line: #e2d9c6;--cure-accent: #3b4f9a;--cure-accent-soft: #e2e4f1;--cure-press: rgba(34, 38, 58, 0.06);--cure-mark: rgba(243, 165, 184, 0.6);--cure-ease: cubic-bezier(0.22, 1, 0.36, 1)}:root.dark{--cure-bg: #0f1426;--cure-bg-soft: #141a30;--cure-surface: #182038;--cure-ink: #f1ece0;--cure-text: #c4c4cf;--cure-muted: #9095aa;--cure-line: #263050;--cure-accent: #f2cf7a;--cure-accent-soft: rgba(242, 207, 122, 0.14);--cure-press: rgba(255, 255, 255, 0.06);--cure-mark: rgba(243, 165, 184, 0.34)}body{background-color:var(--cure-bg)}::selection{background:var(--cure-mark);color:inherit}:is(a,button,[role=\"button\"],input,summary):focus-visible{outline:2px solid var(--cure-accent);outline-offset:2px;border-radius:6px}#page-title{color:var(--cure-ink);font-family:\"Bricolage Grotesque\", \"Inter\", sans-serif;font-size:clamp(30px, 4vw, 42px);font-weight:600;letter-spacing:-0.035em;line-height:1.08;text-wrap:balance}#header>div>p,#header [data-page-description]{color:var(--cure-muted);font-size:17px;line-height:1.55}.prose{--tw-prose-body: var(--cure-text);--tw-prose-headings: var(--cure-ink);--tw-prose-bold: var(--cure-ink);--tw-prose-links: var(--cure-accent);--tw-prose-bullets: var(--cure-muted);--tw-prose-counters: var(--cure-muted);--tw-prose-th-borders: var(--cure-line);--tw-prose-td-borders: var(--cure-line);color:var(--cure-text);font-size:16px}.prose p,.prose li{line-height:1.65}.prose li+li{margin-top:6px}.prose strong{color:var(--cure-ink);font-weight:600}.prose h2{margin-top:48px;color:var(--cure-ink);font-size:24px;font-weight:600;letter-spacing:-0.02em}.prose h3{margin-top:32px;color:var(--cure-ink);font-size:18px;font-weight:600}.prose a:not(.card){color:var(--cure-accent);text-decoration:underline;text-decoration-color:color-mix(in srgb, var(--cure-accent) 35%, transparent);text-underline-offset:3px;font-weight:500}.prose a:not(.card):hover{text-decoration-color:currentColor}code,pre,kbd{font-family:\"Geist Mono\", ui-monospace, monospace;font-variant-ligatures:none}.prose :not(pre)>code{padding:2px 5px;border:0;border-radius:6px;background:var(--cure-press);color:var(--cure-ink);font-size:0.875em;font-weight:500}.prose :not(pre)>code::before,.prose :not(pre)>code::after{content:none}.prose kbd{padding:2px 6px;border:1px solid var(--cure-line);border-bottom-width:2px;border-radius:6px;background:var(--cure-surface);color:var(--cure-ink);font-size:0.8em}.prose table{margin-block:16px 24px;font-size:15px}.prose thead th{color:var(--cure-ink);font-weight:600}.prose :is(th,td){padding:10px 12px;vertical-align:top}.prose tbody tr{border-color:var(--cure-line)}.callout{border-radius:12px}.steps .step{padding-bottom:8px}.card,.accordion-group{border:1px solid var(--cure-line);border-radius:16px;background-color:var(--cure-surface);box-shadow:none}.card{transition:border-color 180ms var(--cure-ease), background-color 180ms var(--cure-ease)}.card:is(a,[role=\"link\"]):hover{border-color:var(--cure-accent);background-color:var(--cure-surface)}.card:is(a,[role=\"link\"]):active{transform:scale(0.99)}[data-component-part=\"card-title\"]{color:var(--cure-ink)}[data-component-part=\"card-content\"]{color:var(--cure-muted)}.accordion-group .accordion{border-color:var(--cure-line);background-color:var(--cure-surface)}#navbar{border-color:var(--cure-line)}:is(#sidebar,#mobile-nav) .sidebar-group-header{color:var(--cure-ink);font-size:13px;font-weight:600;letter-spacing:0;text-transform:none}[data-search-item=\"trigger\"]{border-color:var(--cure-line);background-color:var(--cure-surface);color:var(--cure-muted)}#table-of-contents h2 button{display:flex;align-items:center;width:100%;gap:8px;color:var(--cure-ink);font-size:13px;font-weight:600;letter-spacing:0;text-transform:none}#table-of-contents button[aria-expanded]::after{content:\"\";width:6px;height:6px;margin-left:auto;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform 180ms var(--cure-ease)}#table-of-contents button[aria-expanded=\"false\"]::after{transform:rotate(-45deg)}#table-of-contents nav[data-cure-collapsed=\"true\"] #table-of-contents-content{display:none}#table-of-contents .toc-item>a{color:var(--cure-muted);font-size:13px;line-height:1.5}#table-of-contents .toc-item>a:hover{color:var(--cure-ink)}#table-of-contents .toc-item[data-active-deepest=\"true\"]>a,#table-of-contents .toc-item>a[aria-current=\"location\"]{color:var(--cure-accent);font-weight:600}@keyframes cure-fade{from{opacity:0}to{opacity:1}}@media (prefers-reduced-motion: no-preference){#content-area{animation:cure-fade 240ms var(--cure-ease)}}@media (prefers-reduced-motion: reduce){.card,#table-of-contents button[aria-expanded]::after{transition:none}.card:is(a,[role=\"link\"]):active{transform:none}}.cure-discord{margin:20px 0 28px;overflow:hidden;border:1px solid var(--cure-line);border-radius:14px;color:#dbdee1;background:#313338;font-family:\"gg sans\", \"Noto Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;font-size:15px;line-height:1.375}.cure-discord-body{display:grid;gap:14px;padding:14px 16px 16px}.cure-msg{display:grid;grid-template-columns:40px minmax(0, 1fr);gap:14px}.cure-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}.cure-avatar-you{display:grid;place-items:center;color:#fff;background:#5865f2;font-weight:700}.cure-msg-main{min-width:0}.cure-msg-used{row-gap:4px}.cure-used{position:relative;grid-column:1 / -1;display:flex;align-items:center;gap:4px;min-width:0;margin-left:20px;padding-left:34px;color:#949ba4;font-size:13px;line-height:18px;white-space:nowrap}.cure-spine{position:absolute;top:9px;bottom:-4px;left:-1px;width:28px;border-top:2px solid #4e5058;border-left:2px solid #4e5058;border-top-left-radius:6px}.cure-used-avatar{flex:none;width:16px;height:16px;border-radius:50%;object-fit:cover}.cure-used-name{color:#dbdee1;font-weight:500}.cure-used-command{overflow:hidden;color:#00a8fc;text-overflow:ellipsis}.cure-msg-head{display:flex;align-items:center;gap:6px}.cure-name{color:#f2f3f5;font-weight:600}.cure-app{padding:0 5px;border-radius:4px;color:#fff;background:#5865f2;font-size:10.5px;font-weight:700;line-height:16px}.cure-time{color:#949ba4;font-size:12px}.cure-msg-text{color:#dbdee1;overflow-wrap:anywhere}.cure-box{max-width:520px;margin-top:4px;overflow:hidden;border:1px solid #3f4147;border-radius:8px;background:#393a41}.cure-box-image{display:block;width:100%;max-height:260px;object-fit:cover}.cure-box-row{display:grid;grid-template-columns:minmax(0, 1fr) auto;gap:12px;padding:12px 14px}.cure-box-main{display:grid;gap:4px;min-width:0}.cure-box-thumb{width:72px;height:72px;border-radius:8px;object-fit:cover}.cure-line{color:#dbdee1;overflow-wrap:anywhere}.cure-bold{color:#f2f3f5;font-weight:700}.cure-big{color:#f2f3f5;font-size:20px;font-weight:700;line-height:1.25}.cure-facts{display:grid;gap:2px}.cure-facts-row{display:flex;flex-wrap:wrap;gap:2px 28px}.cure-facts b{color:#f2f3f5}.cure-small{color:#949ba4;font-size:13px}.cure-rule{margin:6px 0;border:0;border-top:1px solid #4e5058}.cure-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.cure-button{display:inline-flex;align-items:center;height:32px;padding:0 16px;border-radius:8px;color:#fff;background:#4e5058;font-size:14px;font-weight:500}.cure-link{gap:8px;background:#4e5058}.cure-link-icon{flex:none}.cure-reactions{display:flex;gap:4px;margin-top:6px}.cure-reaction{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 7px;border-radius:8px;color:#dbdee1;background:rgba(88, 101, 242, 0.15);box-shadow:inset 0 0 0 1px rgba(88, 101, 242, 0.55);font-size:13px;font-weight:600}.cure-mention{padding:0 2px;border-radius:3px;color:#c9cdfb;background:rgba(88, 101, 242, 0.3);font-weight:500}.cure-only{margin-top:6px;color:#949ba4;font-size:12px}.cure-discord :not(pre)>code{padding:1px 4px;border:0;border-radius:4px;color:#dbdee1;background:#2b2d31;font-size:0.85em}@media (max-width: 640px){.cure-discord-body{padding:12px}.cure-msg{grid-template-columns:32px minmax(0, 1fr);gap:10px}.cure-avatar{width:32px;height:32px}.cure-facts-row{gap:2px 18px}.cure-msg-used{row-gap:4px}.cure-used{margin-left:16px;padding-left:26px}.cure-spine{width:22px}}.cure-quote{padding-left:10px;border-left:4px solid #4e5058;color:#dbdee1}"}]}
{"page":{"pagePath":"reference/roles","slug":"/reference/roles","pageMetadata":{"title":"/roles","description":"Create and manage roles, reaction roles, permission checks and fake permissions.","icon":"user-tag","href":"/reference/roles"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create and manage roles, reaction roles, permission checks and fake permissions.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Tip,{children:`Type the command in Discord and pick from the list. Discord asks for each option in turn, so you don’t need to remember the order. Options marked optional can be left out.`}),`\n`,_jsx(Heading,{level:`2`,id:`main-commands`,children:`Main commands`}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-roles`,children:`/roles roles`}),`\n`,_jsx(_components.p,{children:`List every role in the server.`}),`\n`,_jsx(_components.p,{children:`No options.`}),`\n`,_jsx(Heading,{level:`2`,id:`/roles-role`,children:`/roles role`}),`\n`,_jsx(_components.p,{children:`Manage server roles.`}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-create`,children:`/roles role create`}),`\n`,_jsx(_components.p,{children:`Create a role above the configured base.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`name`}),`: Name for the new role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-base`,children:`/roles role base`}),`\n`,_jsx(_components.p,{children:`Set the baseline for roles created by the bot.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-toggle`,children:`/roles role toggle`}),`\n`,_jsx(_components.p,{children:`Toggle a role for a member.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user`}),`: Member to update. Pick a member.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-add`,children:`/roles role add`}),`\n`,_jsx(_components.p,{children:`Give a member a role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user`}),`: Member to update. Pick a member.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-remove`,children:`/roles role remove`}),`\n`,_jsx(_components.p,{children:`Remove a role from a member.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user`}),`: Member to update. Pick a member.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-color`,children:`/roles role color`}),`\n`,_jsx(_components.p,{children:`Set a solid, gradient, or holographic role colour.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`color`}),`: Hex colour or holographic.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`second_color`}),` (optional): Second gradient hex colour.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-delete`,children:`/roles role delete`}),`\n`,_jsx(_components.p,{children:`Delete a role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-edit`,children:`/roles role edit`}),`\n`,_jsx(_components.p,{children:`Edit role visibility, mentions, or permissions.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hoist`}),` (optional): Show role members separately. True or false.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`mentionable`}),` (optional): Allow anyone to mention the role. True or false.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`permissions`}),` (optional): Comma-separated permission changes; use + or -.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-rename`,children:`/roles role rename`}),`\n`,_jsx(_components.p,{children:`Rename a role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`name`}),`: New role name.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-icon`,children:`/roles role icon`}),`\n`,_jsx(_components.p,{children:`Set a role icon from an emoji, attachment, or URL.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`source`}),` (optional): Unicode/custom emoji or image URL.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`attachment`}),` (optional): Role icon image. Attach a file.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-has`,children:`/roles role has`}),`\n`,_jsx(_components.p,{children:`Apply an action when members have a role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`condition_role`}),`: Role members must have. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`action`}),`: Action to apply. One of `,_jsx(_components.code,{children:`grant`}),`, `,_jsx(_components.code,{children:`deny`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`target_role`}),`: Role to grant or remove. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-lacks`,children:`/roles role lacks`}),`\n`,_jsx(_components.p,{children:`Apply an action when members lack a role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`condition_role`}),`: Role members must lack. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`action`}),`: Action to apply. One of `,_jsx(_components.code,{children:`grant`}),`, `,_jsx(_components.code,{children:`deny`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`target_role`}),`: Role to grant or remove. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-members`,children:`/roles role members`}),`\n`,_jsx(_components.p,{children:`List every member with a role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-bots`,children:`/roles role bots`}),`\n`,_jsx(_components.p,{children:`List bots with a role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-humans`,children:`/roles role humans`}),`\n`,_jsx(_components.p,{children:`List humans with a role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-copy`,children:`/roles role copy`}),`\n`,_jsx(_components.p,{children:`Copy a role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-move`,children:`/roles role move`}),`\n`,_jsx(_components.p,{children:`Move a role to a position or above another role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`destination`}),`: Position number or destination role ID/name.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-cleanup`,children:`/roles role cleanup`}),`\n`,_jsx(_components.p,{children:`Identify empty, duplicate, dangerous, and unused roles.`}),`\n`,_jsx(_components.p,{children:`No options.`}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-mass-grant`,children:`/roles role mass-grant`}),`\n`,_jsx(_components.p,{children:`Grant a role to members matching a safe condition.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`condition`}),`: All, bots, humans, has role, lacks role, or inactive duration.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-mass-remove`,children:`/roles role mass-remove`}),`\n`,_jsx(_components.p,{children:`Remove a role from members matching a safe condition.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`condition`}),`: All, bots, humans, has role, lacks role, or inactive duration.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-restore`,children:`/roles role restore`}),`\n`,_jsx(_components.p,{children:`Give a member back their roles, or recreate a deleted role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user`}),` (optional): Member to give back the roles they had before leaving or losing them. Pick a member.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),` (optional): Or: a deleted role’s name or ID to recreate.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-role-temporary`,children:`/roles role temporary`}),`\n`,_jsx(_components.p,{children:`Give a member a role temporarily.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user`}),`: Member to update. Pick a member.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to use. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`duration`}),`: Duration such as 30m, 2h, or 7d.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`/roles-reactions`,children:`/roles reactions`}),`\n`,_jsx(_components.p,{children:`Create and manage reaction roles.`}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-reactions-add`,children:`/roles reactions add`}),`\n`,_jsx(_components.p,{children:`Add a reaction role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`message`}),`: Message ID or link.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`emoji`}),`: Unicode or custom emoji.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Role to toggle. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-reactions-remove`,children:`/roles reactions remove`}),`\n`,_jsx(_components.p,{children:`Remove a reaction role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`message`}),`: Message ID or link.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`emoji`}),`: Configured emoji.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-reactions-list`,children:`/roles reactions list`}),`\n`,_jsx(_components.p,{children:`List reaction roles.`}),`\n`,_jsx(_components.p,{children:`No options.`}),`\n`,_jsx(Heading,{level:`2`,id:`/roles-permissions`,children:`/roles permissions`}),`\n`,_jsx(_components.p,{children:`View and explain Discord and bot permissions.`}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-permissions-view`,children:`/roles permissions view`}),`\n`,_jsx(_components.p,{children:`View permissions for a member or role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user`}),` (optional): Member; defaults to you. Pick a member.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),` (optional): Role instead of a member. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`channel`}),` (optional): Include channel overrides. Pick a channel.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-permissions-explain`,children:`/roles permissions explain`}),`\n`,_jsx(_components.p,{children:`Explain one permission for a member.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`permission`}),`: Permission or command action, such as ban.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user`}),` (optional): Member; defaults to you. Pick a member.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`channel`}),` (optional): Channel to evaluate. Pick a channel.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-permissions-moderation`,children:`/roles permissions moderation`}),`\n`,_jsx(_components.p,{children:`Simulate whether one member can moderate another.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`action`}),`: Ban, kick, timeout, mute, purge, or nuke.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`actor`}),`: Moderator to evaluate. Pick a member.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`target`}),`: Target member. Pick a member.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-permissions-map`,children:`/roles permissions map`}),`\n`,_jsx(_components.p,{children:`Render a Mermaid permission-access flowchart.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`channel`}),`: Channel to map. Pick a channel.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`/roles-fake`,children:`/roles fake`}),`\n`,_jsx(_components.p,{children:`Grant bot-only permissions to staff roles.`}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-fake-grant`,children:`/roles fake grant`}),`\n`,_jsx(_components.p,{children:`Grant fake permissions.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Staff role. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`permissions`}),`: Space or comma-separated permissions.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-fake-remove`,children:`/roles fake remove`}),`\n`,_jsx(_components.p,{children:`Remove fake permissions.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Staff role. Pick a role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`permissions`}),`: Permissions or all.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-fake-clear`,children:`/roles fake clear`}),`\n`,_jsx(_components.p,{children:`Clear all fake permissions from a role.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),`: Staff role. Pick a role.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`/roles-fake-list`,children:`/roles fake list`}),`\n`,_jsx(_components.p,{children:`List configured fake permissions.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),` (optional): Optional role filter. Pick a role.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"/roles","description":"Create and manage roles, reaction roles, permission checks and fake permissions.","icon":"user-tag","href":"/reference/roles"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Main commands","slug":"main-commands","depth":2,"children":[{"title":"/roles roles","slug":"/roles-roles","depth":3,"children":[]}]},{"title":"/roles role","slug":"/roles-role","depth":2,"children":[{"title":"/roles role create","slug":"/roles-role-create","depth":3,"children":[]},{"title":"/roles role base","slug":"/roles-role-base","depth":3,"children":[]},{"title":"/roles role toggle","slug":"/roles-role-toggle","depth":3,"children":[]},{"title":"/roles role add","slug":"/roles-role-add","depth":3,"children":[]},{"title":"/roles role remove","slug":"/roles-role-remove","depth":3,"children":[]},{"title":"/roles role color","slug":"/roles-role-color","depth":3,"children":[]},{"title":"/roles role delete","slug":"/roles-role-delete","depth":3,"children":[]},{"title":"/roles role edit","slug":"/roles-role-edit","depth":3,"children":[]},{"title":"/roles role rename","slug":"/roles-role-rename","depth":3,"children":[]},{"title":"/roles role icon","slug":"/roles-role-icon","depth":3,"children":[]},{"title":"/roles role has","slug":"/roles-role-has","depth":3,"children":[]},{"title":"/roles role lacks","slug":"/roles-role-lacks","depth":3,"children":[]},{"title":"/roles role members","slug":"/roles-role-members","depth":3,"children":[]},{"title":"/roles role bots","slug":"/roles-role-bots","depth":3,"children":[]},{"title":"/roles role humans","slug":"/roles-role-humans","depth":3,"children":[]},{"title":"/roles role copy","slug":"/roles-role-copy","depth":3,"children":[]},{"title":"/roles role move","slug":"/roles-role-move","depth":3,"children":[]},{"title":"/roles role cleanup","slug":"/roles-role-cleanup","depth":3,"children":[]},{"title":"/roles role mass-grant","slug":"/roles-role-mass-grant","depth":3,"children":[]},{"title":"/roles role mass-remove","slug":"/roles-role-mass-remove","depth":3,"children":[]},{"title":"/roles role restore","slug":"/roles-role-restore","depth":3,"children":[]},{"title":"/roles role temporary","slug":"/roles-role-temporary","depth":3,"children":[]}]},{"title":"/roles reactions","slug":"/roles-reactions","depth":2,"children":[{"title":"/roles reactions add","slug":"/roles-reactions-add","depth":3,"children":[]},{"title":"/roles reactions remove","slug":"/roles-reactions-remove","depth":3,"children":[]},{"title":"/roles reactions list","slug":"/roles-reactions-list","depth":3,"children":[]}]},{"title":"/roles permissions","slug":"/roles-permissions","depth":2,"children":[{"title":"/roles permissions view","slug":"/roles-permissions-view","depth":3,"children":[]},{"title":"/roles permissions explain","slug":"/roles-permissions-explain","depth":3,"children":[]},{"title":"/roles permissions moderation","slug":"/roles-permissions-moderation","depth":3,"children":[]},{"title":"/roles permissions map","slug":"/roles-permissions-map","depth":3,"children":[]}]},{"title":"/roles fake","slug":"/roles-fake","depth":2,"children":[{"title":"/roles fake grant","slug":"/roles-fake-grant","depth":3,"children":[]},{"title":"/roles fake remove","slug":"/roles-fake-remove","depth":3,"children":[]},{"title":"/roles fake clear","slug":"/roles-fake-clear","depth":3,"children":[]},{"title":"/roles fake list","slug":"/roles-fake-list","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cure/b243e5df795e1b3a/navigation.js"],"subdomain":"cure","siteName":"cure","title":"/roles - cure","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-04T13:06:39.988Z","originalFileLocation":"reference/roles.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create and manage roles, reaction roles, permission checks and fake permissions.\">\u003cmeta data-mint-head name=\"application-name\" content=\"cure\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"/roles - cure\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create and manage roles, reaction roles, permission checks and fake permissions.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"cure documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.curebot.site/reference/roles\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cure.mintlify.site/_mintlify/api/og/v2?division=For+staff\u0026amp;title=%2Froles\u0026amp;description=Create+and+manage+roles%2C+reaction+roles%2C+permission+checks+and+fake+permissions.\u0026amp;theme=4501e3296d07febcfee5e237\u0026amp;signature=e4dbc2eb9dcef406c5b96350d573fc0f1ef5e3a47478e021e7c01c46ab68fca7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"/roles - cure\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create and manage roles, reaction roles, permission checks and fake permissions.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cure.mintlify.site/_mintlify/api/og/v2?division=For+staff\u0026amp;title=%2Froles\u0026amp;description=Create+and+manage+roles%2C+reaction+roles%2C+permission+checks+and+fake+permissions.\u0026amp;theme=4501e3296d07febcfee5e237\u0026amp;signature=e4dbc2eb9dcef406c5b96350d573fc0f1ef5e3a47478e021e7c01c46ab68fca7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"cure\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3B4F9A\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#111216\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.curebot.site/reference/roles\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/roles.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.curebot.site/#organization\",\"name\":\"cure\",\"url\":\"https://docs.curebot.site\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cure/JT6OLTifSCrGzVw3/images/hakase.png?fit=max\u0026auto=format\u0026n=JT6OLTifSCrGzVw3\u0026q=85\u0026s=49567bcbad50a46245e3bd5a299f1540\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.curebot.site#website\",\"name\":\"cure\",\"url\":\"https://docs.curebot.site\",\"publisher\":{\"@id\":\"https://docs.curebot.site/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.curebot.site/reference/roles#webpage\",\"url\":\"https://docs.curebot.site/reference/roles\",\"name\":\"/roles\",\"description\":\"Create and manage roles, reaction roles, permission checks and fake permissions.\",\"dateModified\":\"2026-12-04T13:06:39.988Z\",\"isPartOf\":{\"@id\":\"https://docs.curebot.site#website\"},\"breadcrumb\":{\"@id\":\"https://docs.curebot.site/reference/roles#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.curebot.site/reference/roles#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"For staff\",\"item\":\"https://docs.curebot.site/reference/moderation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"/roles\",\"item\":\"https://docs.curebot.site/reference/roles\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.curebot.site/reference/roles#article\",\"headline\":\"/roles\",\"name\":\"/roles\",\"description\":\"Create and manage roles, reaction roles, permission checks and fake permissions.\",\"url\":\"https://docs.curebot.site/reference/roles\",\"mainEntityOfPage\":{\"@id\":\"https://docs.curebot.site/reference/roles#webpage\"},\"dateModified\":\"2026-12-04T13:06:39.988Z\",\"publisher\":{\"@id\":\"https://docs.curebot.site/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.curebot.site#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"cure\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"cure\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reference/roles.md","siteName":"cure","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"Commands","icon":"terminal","groups":[{"group":"For staff","pages":[{"title":"/mod","icon":"gavel","href":"/reference/moderation"},{"title":"/security","icon":"shield-halved","href":"/reference/security"},{"title":"/server","description":"Server information, analytics, invites, counters, logs, backups and events.","icon":"server","href":"/reference/server"},{"title":"/roles","icon":"user-tag","href":"/reference/roles"},{"title":"/members","description":"Look up members: profiles, avatars, join dates, who has a role and who's inactive.","icon":"users","href":"/reference/members"},{"title":"/manage","icon":"screwdriver-wrench","href":"/reference/manage"},{"title":"/support","icon":"ticket","href":"/reference/support"}]},{"group":"Set-up","pages":[{"title":"/customize","icon":"pen-ruler","href":"/reference/customize"},{"title":"/automation","icon":"diagram-project","href":"/reference/automation"}]},{"group":"For everyone","pages":[{"title":"/general","icon":"circle-info","href":"/reference/general"},{"title":"/music","icon":"music","href":"/reference/music"},{"title":"/giveaway","icon":"gift","href":"/reference/giveaways"},{"title":"/economy","icon":"coins","href":"/reference/economy"},{"title":"/community","icon":"heart","href":"/reference/community"},{"title":"/play","icon":"dice","href":"/reference/play"},{"title":"/fun","icon":"face-smile","href":"/reference/fun"},{"title":"/discover","icon":"compass","href":"/reference/discover"},{"title":"/utility","icon":"wand-magic-sparkles","href":"/reference/utility"},{"title":"More commands","icon":"ellipsis","href":"/reference/more"},{"title":"Anywhere commands","icon":"user","href":"/reference/personal"}]}]}]},"basePath":"","title":"/roles - cure","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}