Command permissions

Limit who can use each command by permission or role, and hide it from everyone else in Discord's slash menu.

Ultra

Set it up

  1. Open Permissions in the console sidebar.
  2. Pick a limit for each command: a permission, or Specific roles. Templates fill in common limits.
  3. Press Save. The first time, a popup asks you to connect Discord.
  4. Wait for the sync card to read Synced with Discord.

How limits work

A limit replaces the command's default permission. Limit /ban to @Moderator and members of that role can ban without holding Ban Members, while nobody else can. Limit it to Manage Server and that permission is all it takes. Keroku checks it on every slash and prefix command, and pushes it to Discord so the command disappears from the slash menu for everyone it leaves out. Administrators and the owner always pass, as they do in Discord. Report message takes no limit.

Who can change what

  • The owner can set anything.
  • Anyone else needs Manage Server and Manage Roles.
  • You can only change commands you can use.
  • You can only require permissions you hold, and never Administrator.
  • You can only pick roles below your highest role that you don't hold.
  • Removing a limit counts as changing it, so a limit set above you stays out of your reach.

Why it asks for Discord

Discord only accepts slash menu changes from a member's own account, never a bot. So saving asks you to connect, at most once a week. The connection is stored encrypted and is only used for this.

What stays yours

Member and channel overrides set in Discord's own Integrations settings stay as they are. Off Ultra, limits stay saved but do nothing, and Discord's menu goes back to the defaults.

Fixes