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]>
30 lines
727 B
Go
30 lines
727 B
Go
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)
|
|
}
|