Permission Reference
The exact permissions requested depend on the protection you enable. These are the common Discord capabilities used by a security and moderation bot.
| Permission | Why it is needed |
|---|---|
| View Channels | See protected channels and the staff log channel. |
| Read Message History | Review message activity needed for detection. |
| Manage Messages | Remove spam, mass mentions, and filtered links. |
| Kick Members / Ban Members | Respond to raid accounts and serious repeat abuse. |
| Manage Channels | Apply or reverse protective channel restrictions where configured. |
| Manage Roles | Respond to role-related abuse where configured. |
| Send Messages / Embed Links | Publish readable staff alerts and log entries. |
Role Hierarchy
Discord prevents a bot from moderating accounts at or above its own highest role. Place myShield above ordinary member roles and any staff roles it is explicitly expected to contain.
Administrator is not a fix for role order
Even with broad permissions, Discord's hierarchy can still prevent moderation. Check role position separately.
Channel Overrides
Channel overrides can deny a permission even when the server role grants it. If protection fails in only one channel, compare that channel's overrides with a channel where the same feature works.
