Add anti-raid and anti-nuke protection

Join Gate (account age, avatar, advertising and username filters, bot
checks), raid detection with invite pausing, anti-nuke quarantine of
admins who mass delete, manual and automatic lockdowns, a decaying heat
score against spam, role and channel snapshots with restore, and alert
DMs to the owner and trusted users. Everything that weakens protection
is limited to the owner and the trusted list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
FernandoJVideiraandClaude Opus 5.5 committed 2026-10-20 21:59:52 +01:00
1 parent d294b3463b
commit 3f87e68a2c
26 files changed
+6022

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
package security
import (
"velox-bot/internal/commands/security/public"
"github.com/bwmarrin/discordgo"
)
var (
Security *discordgo.ApplicationCommand = public.Security
Lockdown *discordgo.ApplicationCommand = public.Lockdown
Unlock *discordgo.ApplicationCommand = public.Unlock
)
func SecurityHandler(s *discordgo.Session, i *discordgo.InteractionCreate) {
public.SecurityHandler(s, i)
}
func LockdownHandler(s *discordgo.Session, i *discordgo.InteractionCreate) {
public.LockdownHandler(s, i)
}
func UnlockHandler(s *discordgo.Session, i *discordgo.InteractionCreate) {
public.UnlockHandler(s, i)
}
func HandleComponent(s *discordgo.Session, i *discordgo.InteractionCreate) {
public.HandleComponent(s, i)
}