Required Permission:
is_server_owner — Only the Server Owner and Extra Owners can configure Main Roles.What Does a Main Role Do?
When you register a role as a Main Role, two powerful background security filters automatically activate to protect it:1. Permission Stripping (Anti-Abuse)
If a rogue admin or compromised account attempts to give a Main Role (or the@everyone role) dangerous permissions (like Administrator, Ban Members, or Manage Webhooks), the Default Protection Filter will instantly strip those dangerous permissions away. This prevents attackers from turning a harmless role into an admin role.
2. Mention Spam Protection
If a user attempts to mass-ping a Main Role, the Anti-Mention Filter will automatically trigger. It will instantly delete the message (even if it was sent via an unauthorized external User App or Webhook) and punish the attacker based on yourmention_spam limits.

