Skip to main content
Righteous

The five gates every command passes, in order, and why you can see commands you can't run.

A command runs only if it clears every gate, in the same order on prefix and slash. Each refuses for a different reason, so read the refusal rather than retrying.

GateAsksRefusal looks like
1. Discord permission
Do you hold what the command names? ,ban wants Ban Members, ,config wants Administrator
Missing permissions: MANAGE_GUILD
2. Fake permission
Does a role hold it on Righteous only?
Same as gate 1
3. Server owner only
Are you the owner of this server? ,antinuke and ,fakepermissions
Server owner only
4. Channel and role rules
Did the server disable the command here, or restrict it to a role?
The command is refused or ignored
5. Premium tier
Does the member or server hold the tier? See Premium
Names the tier

Gate 1 doesn't answer two things. The bot's own permissions are separate (I'm missing permissions: …), and role hierarchy is its own check: a member above you, or the server owner, is out of reach.

Delegate with fake permissions

,fakepermissions (,fp) grants a role a permission on Righteous only, and only the server owner can run it. A role with fake BAN_MEMBERS can use ,ban without the real permission, and can't ban through Discord's own UI. They apply server-wide, and fake ADMINISTRATOR is not real Administrator: it passes every Righteous command's permission gate, but a few checks inside commands (handing out a role, for one) still want the exact permission. Details: Fake permissions.

Server owner is not bot owner

"Server owner only" means the owner of your server. A few developer commands are reserved for the bot's owner and refuse with Owner only. No server setting opens them.

Turn a command off in a channel

,command needs Manage Server. The channel comes first, then the command. all means every channel, including future ones.

Syntax

,command disable <#channel|all> <command> [subcommand]

Example

,command disable #general snipe

,command enable undoes it, and enable all clears every rule for that command. ,command list shows the rules and ,command reset clears them all.

Restrict a command to a role

Any one of the roles you add is enough. ,unrestrict removes one and ,restrict list lists them. On slash these are /command restrict add and /command unrestrict.

Syntax

,restrict <role> <command> [subcommand]

Example

,restrict Moderator lf wk

Turn on Professional Mode

,command professional on disables the unprofessional and NSFW commands with ordinary server-wide disable rules. Carve one back out with ,command enable all <command>; ,command list shows them all.

Syntax

,command professional <on|off>

Example

,command professional on

Administrators and the bot owner skip all of gate 4

Disables, restrictions and Professional Mode ignore anyone with Administrator, so testing from an admin account shows nothing. Test from a second account.

See what someone holds

,permissions prints real and fake permissions in the spelling a refusal uses. /permissions all lists every name ,fp add accepts.

Syntax

,permissions [user]

Example

,permissions @someone

begging

,permissions @Sam

RighteousAPP

sam's Permissions

CREATE_INSTANT_INVITE ADD_REACTIONS VIEW_CHANNEL SEND_MESSAGES MANAGE_MESSAGES EMBED_LINKS ATTACH_FILES READ_MESSAGE_HISTORY USE_EXTERNAL_EMOJIS CONNECT SPEAK

Fake permissions

BAN_MEMBERS

Granted with ,fp — they work on Righteous only, not anywhere else in Discord.

A member with a fake permission. Real permissions are the top list. The footer appears only when a role has been given a fake one.

You can see commands you cannot run

Righteous doesn't hide gated slash commands. Every command is visible to @everyone, and a member without permission gets a private refusal. Discord's own hiding works on real permissions before the bot is asked, which would make fake permissions impossible on slash. The config panel works the same way: controls are checked when used.

Common issues

"Missing permissions" and you have Administrator. It may be Server owner only instead. ,antinuke is the usual case.

A moderator can act in Discord but not through the bot. The command is restricted to a role they lack, or disabled in that channel. Check ,command list and ,restrict list.

A fake permission does nothing. Discord's own refusals ignore it. If the refusal names the bot's missing permission, fix the bot's role.

The refusal names a tier you thought you had. Boosting, Self Premium, Server Premium and the bot purchase are four things. See Premium.