stingsby docs · v0.7.0 (beta)

Permissions, role order and who is never banned

The Discord permissions stingsby needs and why, where its role must sit to ban spammers, and which members and roles are never banned.

Permissions & role order

Stingsby is added with exactly these permissions (value 1099511720980):

PermissionWhy stingsby needs it
Ban MembersThe whole point, plus the Unban button on ban reports
Manage ChannelsOnly so /honeypot setup can create the trap channel for you
View ChannelsSeeing messages in the honeypot
Send Messages, Embed LinksThe warning, ban reports and setting-change notices
Manage MessagesPinning the warning, deleting spam if a ban fails, and /clear
Read Message HistoryNeeded alongside the above, and for /clear
Timeout MembersThe timeout and escalating actions, and the 🔊 Remove timeout button

Manage Server is not included, on purpose. Stingsby only needs it for two things that are off by default: to pause DMs or invites during a raid, and to read your invites for the join log. If you plan to use either, give Manage Server to the stingsby role first (Server Settings → Roles). Without it you still get the alerts, but nothing is paused, the join log doesn't show who invited people, and /config shows a warning.

Where the bot's role goes

This is the most common setup mistake. Staff roles can stay above the bot, because staff are never banned anyway.

/honeypot status, /config and /security scan all flag regular roles above the bot. If you use channel permission overrides, make sure stingsby has View Channel in the trap and Send Messages + Embed Links in the log channel.

Who is never banned

  • Bots and webhooks
  • The server owner
  • Anyone with Administrator, Manage Server or Ban Members, so staff can post in the trap, e.g. to update the warning
  • Anyone with a role picked in the 🛡️ Exempt roles menu of /config

Everyone else is banned, including long-time members whose account was compromised. That's on purpose: a compromised account looks exactly like its owner. Once they recover it, they can ask to be unbanned.