Permissions
Give the bot enough access to do the job.
TrapGuard needs a small set of Discord permissions. The most important part is role order: the bot role must sit above members it needs to ban.
Ban MembersNeeded to ban accounts that post in the trap.
Manage MessagesNeeded to delete trap posts and keep the channel clean.
View ChannelNeeded for the trap and staff log channels.
Send MessagesNeeded to post warnings and staff logs.
Read Message HistoryNeeded for reliable warning and log handling.
Use Application CommandsNeeded for slash commands.
Role order
If the bot detects a trap message but cannot ban the account, move the TrapGuard role higher in Discord server settings.
