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:
1 parent
d294b3463b
commit
3f87e68a2c
26 files changed
+6022
No files matched your search
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user