Skip to main content
Righteous

Let a role run bot commands without holding the permission in Discord.

A fake permission passes Righteous' own checks without being a Discord permission. Grant BAN_MEMBERS and the role can run ,ban, while Discord's ban button stays greyed out. Every ,fakepermissions command (alias ,fp) is Server Owner only, so a fake permission can never be used to grant more of them.

Grant a permission to a role

,fp add takes a role (mention, ID, or one word of its name, matching the first role containing it) and one permission, in SCREAMING_CASE. Grants belong to the role, so members gain and lose them with it. They apply immediately.

Syntax

,fakepermissions add <role> <permission>

Example

,fp add @Moderator BAN_MEMBERS
  • One permission per run. A duplicate is refused. /fp add autocompletes names.
  • ,fp type lists every valid name.
  • Renamed permissions still match: a stored MANAGE_CHANNEL satisfies MANAGE_CHANNELS.

Server-wide, never per channel

A role granted MANAGE_MESSAGES has it everywhere the bot works. For one channel, use Discord's own overwrites instead.

A fake ADMINISTRATOR opens everything

It satisfies every command's permission gate, like a real administrator. One grant opens ,config, ,log and every other permission-gated command. A few checks inside a command (such as assigning roles) match the exact permission and don't accept it.

Take permissions back and review them

CommandDoes
Removes one permission from one role
Every role and permission pair, paginated
One member's real and fake permissions, and flags a fake ADMINISTRATOR

Syntax

,fakepermissions remove <role> <permission>

Example

,fp remove @Moderator BAN_MEMBERS

Clear every grant

,fp reset empties the table for the whole server and has no undo. It asks for the word confirm.

Syntax

,fakepermissions reset confirm

Example

,fp reset confirm

This clears every role, not just one

There is no per-role form. To take one permission off one role, use ,fp remove. Reaching for reset by mistake deletes your whole staff setup.

Pick grants for your staff

There is no preset. Start here and trim, granting the narrowest thing that opens the command.

Staff levelGrantOpens
Trial moderator
MANAGE_MESSAGES
,clear and message moderation
Moderator
MANAGE_MESSAGES, MODERATE_MEMBERS, KICK_MEMBERS
Adds ,timeout and ,kick
Senior moderator
BAN_MEMBERS, MANAGE_ROLES
,ban and the roles the bot manages
Manager
MANAGE_GUILD
Server settings, the trap channel, most server tools
Nobody
ADMINISTRATOR
Everything permission-gated. Use it deliberately or not at all

What a fake permission will not do

  • Nothing outside Righteous. Discord is never told: no right-click ban, no extra channels, nothing from other bots.
  • Not the server-owner commands. ,antinuke, ,stripstaff, ,staff and ,fakepermissions check for the actual owner, which not even fake ADMINISTRATOR satisfies. Otherwise someone holding it could switch off the protection meant to contain them.
  • No immunity to filters or the trap. Message filters and the trap channel exempt only the server owner and whoever you added with ,filter whitelist add or ,trap whitelist add. A fake ADMINISTRATOR still has invites deleted and still walks into the trap.
  • No outranking. Commands that act on a member also refuse the server owner and anyone whose highest role is not below the caller's. Fake permissions don't touch that check, so a fake ADMINISTRATOR at the bottom of the role list is refused on anyone above them.

Gated slash commands stay visible to everyone, and a member without the permission gets a private refusal. Discord hides commands by real permissions before the bot is asked, which would make fake ones useless.

Common issues

"Invalid Permission". The name isn't one the bot accepts. Copy it from ,fp type or use /fp add.

"Invalid Role". Nothing matched. Mention the role or paste its ID: a name with a space matches only on its first word.

"Fake Permission already exists for this role". It already has it. Check ,fp list.

A member with a fake permission still can't run the command. Check in order: they hold the role, the command isn't owner-only, and the hierarchy isn't refusing their target. ,permissions view settles the first.

A fake ADMINISTRATOR opened more than expected. It satisfies every check. Remove it and grant specific permissions.

More in Protection never fires.