Server configuration

Command Permissions

Disable commands and restrict them to specific roles.


Note:

Slash commands for this page

Set this up in Discord with /configure feature:Command restrictions, /configure feature:Disabled commands, or on the dashboard under Security › Command access.

Use the slash version of each command below. Prefix commands keep working until March 5, 2027. What is changing

  • ,role → /role toggle
  • ,ban → /ban user
  • ,role restore → /role restore
  • ,disable → /configure feature:Disabled commands
  • ,restrict → /configure feature:Command restrictions
  • ,denyperm → /configure feature:Denied permissions
  • ,dp → /configure feature:Denied permissions
  • ,protect → /configure feature:Protected members
  • ,restrict list → /configure feature:Command restrictions
  • ,restrict remove → /configure feature:Command restrictions
  • ,restrict reset → /configure feature:Command restrictions
  • ,denyperm available → /configure feature:Denied permissions
  • ,denyperm clear → /configure feature:Denied permissions
  • ,protect list → /configure feature:Protected members

Overview

Two independent systems control who can run what:

  • ,disable turns a command off: server-wide, in one channel, or for one role: with a per-member whitelist to punch holes in it.
  • ,restrict ties a command to roles, either allowing only certain roles or denying specific ones.

Both require Administrator.

Tip:

Use ,disable when a command shouldn't be used here, and ,restrict when a command should only be used by these people.


Disabling Commands

,disable (command)
,disable channel (command) (channel)
,disable role (command) (role)

Re-enabling

,enable (command) [target]
,disable reset (command) [target]

Both do the same thing. Pass a channel or role as the target to lift only that restriction; leave it off to re-enable the command everywhere.

Whitelist

A whitelist lets named members use a command even while it's disabled: handy for keeping a command off for the server but on for your staff.

,disable whitelist add (command) (user)
,disable whitelist list (command)
,disable whitelist remove (command) (user)

Reviewing

,disable list

Shows every disabled command and where it's disabled. Aliases: show, all.


Restricting Commands to Roles

,restrict allow (command) (role)
,restrict deny (command) (role)
  • allow: only members with that role may use the command. Add more roles to widen it.
  • deny: members with that role may not use it, even if they'd otherwise pass. Alias: ,restrict add.

Reviewing & Clearing

  • ,restrict list: every restriction currently in place (aliases: ls, show).
  • ,restrict remove (command) (role): drop one role's restriction (aliases: delete, del).
  • ,restrict reset [command]: clear restrictions for one command, or all of them when no command is given (alias: clear).
  • ,restrict on its own: show the command list.

Using the dashboard assistant

You can ask the assistant in the dashboard things like "disable ban in #general" or "only let @Moderators use warn". It shows you a plan with the current and new setting before anything changes, and nothing happens until you approve it.

The assistant can disable or enable a command everywhere, in one channel or for one role, and add or remove a role on a command's allow or deny list. It cannot touch disable, enable or restrict themselves. You need Administrator, the same as the commands.

A role restriction works across the whole server, so a command cannot be limited to a role in one channel only. You can combine the two: restrict the command to a role, and disable it in the channels where nobody should use it. The assistant tells you this when you ask for a channel-specific restriction.


Blocking Permissions

,denyperm is a separate guardrail. Block a permission and greed will refuse to hand out any role that carries it through the ,role commands: including mass-role operations and ,role restore. Block Administrator and no one can use greed to give themselves an admin role, whatever their own permissions are.

,denyperm add (permission)
,denyperm remove (permission)
,denyperm available
,denyperm clear
,denyperm

,denyperm available lists the permission names you can use (alias: list), ,denyperm on its own shows what's currently blocked, and ,denyperm clear unblocks everything after you confirm. Alias: ,dp. Requires Administrator.

Protecting Members & Roles

,protect marks a member or role as off-limits to greed's moderation commands, so a mistyped ,ban can't touch your owner or your staff role.

,protect @user
,protect @Admins
,protect list

The command toggles: running it again on the same target unprotects it. ,protect list shows everything currently protected (alias: ls). Requires Administrator.