Skip to main content
Discord’s permission system is all-or-nothing. To let a trial moderator use !ban, you normally have to give their role Ban Members — which also lets them ban people through Discord’s own UI, through any other bot in the server, and through the API. Fake permissions decouple those. A role granted ban_members as a fake permission can run !ban through mira and nothing else. Take away their access to the bot and the ability goes with it.
Fake permissions only apply to mira’s own commands. They are not real Discord permissions and are invisible to every other bot.

Granting

The bare grant form figures out whether you passed a role or a member. The role and member subcommands exist for when a name is ambiguous. Aliases for grant: allow, add, give.

Revoking

Aliases for revoke: remove, rm, delete, del. Aliases for reset: clear, purge, wipe.

Viewing

The bare list shows every grant in the server, grouped by target. Pass a role or member to filter.

What you can grant

Any Discord permission name, written in lowercase with underscores. The useful ones: The full list is whatever Discord itself accepts. If a name isn’t valid, the command tells you.
Fake permissions don’t bypass Discord’s requirements. A trial mod with fake ban_members can run !ban, but the ban itself is performed by mira using its permissions — so mira still needs real Ban Members, and its role still has to sit above the target’s highest role.Role hierarchy is also still checked against the person running the command: someone can’t ban a member whose top role is above their own, fake permission or not.

A practical setup

A trial moderator who can warn, purge and timeout, but can’t ban, kick, or touch roles:
Give the role no real Discord permissions at all. They get exactly those three abilities, only through the bot, and revoking them is one command.
Pair this with command restrictions to be even more precise. manage_messages unlocks purge, warn and impersonate — if you’d rather they couldn’t impersonate people, !command restrict @Trial Mod impersonate closes that off.

Command reference

Managing fake permissions requires Administrator — otherwise anyone with the ability to grant them could grant themselves everything.