How modules work
Turning a module on and off, saving changes, resetting, choosing channels and roles.
These rules apply to all modules.
Turning on and off
Every module has a switch next to its title and starts off. The change applies at once and Module turned on or Module turned off appears.
- Off: MayaBot does nothing for that module. The settings stay saved, visible but not editable, and become active again when you turn it back on.
- On but not set up: the panel has an orange border and a ? icon. The module does nothing until you save a setup.
- Channel deleted: if a chosen channel no longer exists on Discord, the panel has a red border and a red ? icon, and the row of that setting has a red outline. The switches stay as they are: choose another channel and save.
Editing and saving
Changes are made in a side panel and only apply after Save.
If you leave with unsaved changes (a link, the Back button, closing the panel), the dashboard asks you to confirm: Stay or Leave without saving.
The result appears in a notification. If saving fails, the notification gives the reason (see Saving errors).
Resetting
There are two different resets:
| Reset | Where | What it does |
|---|---|---|
| Of the module | Reset icon next to the switch | After a confirmation it immediately deletes all the module's settings in that server, images included. The switch doesn't change |
| Of a section | Reset button next to the title of a panel section | Brings that section back to its initial value, only in the panel. It becomes final with Save |
The module reset only appears if something is saved, and can't be used while the module is off.
Choosing a channel
The channel menus only list the text and announcement channels that you can see on Discord, grouped by category.
- A channel where MayaBot can't write is shown disabled with No permission. If you are the one who can't write, it shows You can't write.
- A channel that MayaBot can't see isn't listed. An icon next to the menu reminds you: give MayaBot the View Channel permission in that channel to choose it.
- If the saved channel is deleted or MayaBot loses access, the module summary says so: The channel no longer exists., MayaBot can't see this channel. or MayaBot can't write in this channel. If the permission is missing for you, it shows You can't write in this channel.
Choosing roles
In the modules that give roles (Welcome and Verification) you can choose up to 10 roles. Discord's own rules apply:
- MayaBot can only give roles below its highest role, and it needs the Manage Roles permission.
- You can only choose roles below your highest role and you must have Manage Roles.
A role chosen by someone higher up than you stays ticked and locked. A role that meanwhile can no longer be given is removed when you save.
You can also choose roles with Administrator or Manage Server: the dashboard flags them, because whoever gets them can manage the whole server.
Placeholders
Many texts accept placeholders, such as %mention% or %server%, which MayaBot replaces when it sends the message. Each panel has the Variables list with a button to copy them; typing % in a field shows suggestions. The full list, module by module, is in Placeholders.
Saving errors
The most common messages and what to do:
| Message | Cause and fix |
|---|---|
| MayaBot can't write in this channel. | MayaBot is missing View Channel or Send Messages in the chosen channel |
| MayaBot doesn't have the Embed Links permission in this channel. | It's needed for the Embed (v1) format. Give it to MayaBot or change format |
| MayaBot doesn't have the Attach Files permission in this channel. | It's needed to send images |
| MayaBot doesn't have the Manage Messages permission in this channel. | The Honeypot needs it to delete messages |
| MayaBot doesn't have the Read Message History permission in this channel. | The Honeypot needs it to clear the trap channel |
| You don't have access to this channel on Discord. | You are the one who can't see or write in that channel |
| Some roles can't be given by MayaBot or are above your highest role. | See Choosing roles |
| You've reached the image storage limit for this server. | Remove some images from another message |
| An image isn't valid or is too large. | Use PNG, JPEG, WebP or GIF up to 1 MB |
| An image is larger than 4096 pixels on one side. | Make the image smaller: the long side can be up to 4096 pixels |
| The message was changed elsewhere. Try again. | Someone else saved in the meantime. The page reloads: make the change again |
| Saving isn't available right now. Try again shortly. | A service is temporarily unreachable. Check status.mayabot.eu |