Roles and safety
A command that gives roles is powerful: anyone who can run it hands out those roles. Zymi limits who can run each command, and checks every role change before it does anything.
Who can run it
Click Who can run it and choose roles. Members with any one of them may run the command. With none chosen, everyone may. Administrators always may.
A member without one of the roles is told "You can't use this command." The command still shows in their command list: Discord shows a server's commands to everyone.
Checks before role changes
Click Checks before role changes to choose what Zymi checks. New commands start with all of them on except the limit, and that is the safe choice for most commands.

- Only roles below the user's own: whoever runs the command can only give or take roles below their own highest role, as with Discord's Manage Roles.
- No roles with moderation rights: roles with rights like Administrator, Manage Server, Manage Roles, Manage Channels, Ban, Kick, Timeout or Manage Messages can't be given or taken.
- Only members below the user: roles can't be changed for someone whose highest role is the same as the user's or higher. Their own roles are fine.
- Limit how often one person uses it: at most so many times in so many minutes, per member. Up to 100 times in up to 1,440 minutes (a day). Only runs that went through count.
- Log role changes: every role given or taken is posted to the moderation log, with who did it, the member and the channel.
Turn a check off only when you need to: for example, Only roles below the user's own off lets members give themselves a role above their own, like a colour role placed high in the list.
What is always checked
Whatever the settings:
- Zymi never gives or takes roles of apps, @everyone, or roles above its own highest role.
- A role that a member picked in a role parameter is always held to Only roles below the user's own and No roles with moderation rights.
- Zymi needs the Manage Roles permission on the server.
When a check fails
Zymi checks every role change of the command first, and only then does anything. If one check fails, nothing happens at all, and the member sees why, only to them. For example:
- "Moderator has moderation or admin rights, and this command may not give or take such roles."
- "Gamer is not below your highest role."
- "Alex's highest role is not below yours."
- "You've used this command 3 times lately. Try again in 5 minutes."
Records
Every run that changed roles is written to the Audit log: who ran it, which member got or lost which roles, and where.