Modmail Docs
GitHubDonateSetupDiscord Server
  • Introduction
  • Installation
    • Local hosting / VPS
      • Windows
      • MacOS
      • Docker
      • Ubuntu
      • Debian
      • Fedora
      • Alma Linux
      • Logviewer
      • Patreon logviewer
    • Railway
    • Heroku
    • Community Guides
  • Setting up auto-restart
  • Updating
  • Getting Started
  • Usage
    • Plugins
    • Configuration
    • Permissions
  • Frequently Asked Questions
  • OLD DOCS
    • Installation
    • Installation (continued)
    • Color Names
    • Configuration Variables (Config Vars)
    • Configure Modmail and Logviewer
    • Frequently Asked Questions
    • Modmail Usage
    • Updating
    • Video Tutorials
Powered by GitBook
On this page
  • Setting up permissions
  • Adding a level to a role or user
  • Adding a command to a role or user
  • Override permission level

Was this helpful?

Edit on GitHub
  1. Usage

Permissions

How to use permissions in modmail.

PreviousConfigurationNextFrequently Asked Questions

Last updated 10 months ago

Was this helpful?

The modmail bot comes with an advanced permission system that makes it able to choose which individual users or users with certain roles can use modmail specific commands.

The permission levels are the following:

  • Owner [5]

  • Administrator [4]

  • Moderator [3]

  • Supporter [2]

  • Regular [1]

You can view each permission level that is required for the specific command inside the help command.

Setting up permissions

These permissions can added in two different ways.

Adding a level to a role or user

?permissions add level [name] [role/user]

Examples:

  • ?perms add level Regular everyone

  • ?perms add level Moderator @mods

  • ?perms add level Owner @user

Adding a command to a role or user

?permissions add command [name] [role/user]

Examples:

  • ?perms add command reply @user

  • ?perms add command "plugin enabled" @role

  • ?perms add command help 984301093849028

Override permission level

In some cases it can be useful to override a command permission level. This can be done like this:

?permissions override <command_name> <level_name>

Examples:

  • ?perms override reply administrator

  • ?perms override "plugin enabled" moderator


If you need help setting up permissions, feel free to join our and DM Modmail. One of our support members will help you.

Discord server
Screenshot of the Logviewer homepage.