# Permissions

> The Discord permissions MayaBot and dashboard users need, module by module.

Source: https://docs.mayabot.eu/reference/permissions

MayaBot must have the permission **where it acts**: if it writes in a channel, it needs it in that channel, even if it has it in the server.

The list of permissions the invite asks for is in [Adding MayaBot](https://docs.mayabot.eu/getting-started/add-mayabot#required-permissions).

## MayaBot's permissions by module

| Module | Where | Permissions |
|---|---|---|
| [Automatic message](https://docs.mayabot.eu/modules/auto-messages) | Message channel | **View Channel**, **Send Messages**; **Embed Links** for Embed (v1); **Attach Files** with images |
| [Welcome](https://docs.mayabot.eu/modules/welcome), [Leaves](https://docs.mayabot.eu/modules/leaves) | Message channel | **View Channel**, **Send Messages**; **Embed Links** for Embed (v1); **Attach Files** with the card |
| [Welcome](https://docs.mayabot.eu/modules/welcome) | Server | **Manage Roles** for roles on joining |
| [Verification](https://docs.mayabot.eu/modules/verify) | Message channel | **View Channel**, **Send Messages**; **Embed Links** for Embed (v1) |
| [Verification](https://docs.mayabot.eu/modules/verify) | Server | **Manage Roles** |
| [Honeypot](https://docs.mayabot.eu/modules/honeypot) | Trap channel | **View Channel**, **Send Messages**, **Manage Messages**, **Read Message History**; **Embed Links** for Embed (v1) |
| [Honeypot](https://docs.mayabot.eu/modules/honeypot) | Server | **Ban Members** for the softban, **Timeout Members** for the timeout |
| [Counting](https://docs.mayabot.eu/modules/counting) | Counting channel | **View Channel**, **Add Reactions**, **Read Message History**, **Manage Messages**, **Send Messages**; **Embed Links** for Embed (v1) |
| [Temporary channel](https://docs.mayabot.eu/modules/temp-channels) | Category | **View Channel**, **Manage Channels**, **Manage Permissions**; for the Voice channel type also **Move Members** and **Connect** |
| [Temporary channel](https://docs.mayabot.eu/modules/temp-channels) | Generator channel | **Move Members** |
| [Temporary channel](https://docs.mayabot.eu/modules/temp-channels) | Message channel | **View Channel**, **Send Messages**; **Embed Links** for Embed (v1) |
| [Temporary channel](https://docs.mayabot.eu/modules/temp-channels) | Server | **View Audit Log**, **Mute Members**, **Deafen Members** for mutes |
| [Logs](https://docs.mayabot.eu/modules/logs) | Channels to record | **View Channel** for messages and reactions |
| [Logs](https://docs.mayabot.eu/modules/logs) | Server | **View Audit Log** for moderation and server changes, with who acted and the reason; **Manage Server** for AutoMod actions |
| [Overview](https://docs.mayabot.eu/getting-started/overview) | Server | **View Audit Log** to count kicks |

## The role position

Besides permissions, the position of MayaBot's role in the server's role list matters:

- to give a role (Welcome, Verification), MayaBot's role must be above that role;
- to ban or time out someone (Honeypot), MayaBot's role must be above that person's highest role;
- nobody can time out members with **Administrator**.

The role is moved in **Server Settings > Roles** on Discord.

## Administrator

MayaBot doesn't ask for **Administrator** and doesn't need it, with one exception: in the Temporary channel the owner only gets **Manage Permissions** if MayaBot is Administrator.

If MayaBot has Administrator, the dashboard treats every permission as present.

## Permissions of dashboard users

| To do what | Permissions on Discord |
|---|---|
| Open a server's dashboard | **Manage Server** |
| View the [Logs](https://docs.mayabot.eu/modules/logs) | **Administrator**, **Manage Server** or **View Audit Log**. Without **Administrator** you only see the logs of the channels you can see |
| Buy [Premium](https://docs.mayabot.eu/getting-started/premium) | **Manage Server** |
| Choose a channel | **View Channel** and **Send Messages** in that channel; for the Honeypot also **Manage Messages** |
| Choose roles to give | **Manage Roles** and a role higher than the chosen ones |
| Use the Honeypot softban | **Ban Members** |
| Use the Honeypot timeout | **Timeout Members** |

The dashboard doesn't let you do with MayaBot what you couldn't do yourself on Discord.

## Missing permissions

The [Overview](https://docs.mayabot.eu/getting-started/overview#missing-permissions) checks MayaBot's permissions at server level and shows **Sync permissions** if any are missing. It doesn't check individual channels: for those, look at the red warnings in the module panels.
