ACTIVE SUBROUTINES
// Every module below is deployed and operational.
Spam Detection
Sliding-window rate limiting, duplicate detection with cross-channel support, mention flooding, invite link blocking, and suspicious link filtering. Tunable per-server and per-channel thresholds.
Content Guard
Banned word filtering with Levenshtein fuzzy matching and leetspeak normalisation, Zalgo text blocking, copypasta hash detection, and invisible character scrubbing.
Safe Browsing
Real-time URL checks against Google Safe Browsing V5 using hash-prefix lookups with Rice-Golomb delta decoding and Redis caching.
Domain Blacklist
Downloads and caches AdGuard-format domain filter lists in Redis. Custom domains, whitelist mode, and blacklisted domains are blocked instantly.
Raid Detection
Monitors join velocity in real time. Triggers automatic lockdown and invite pause when configurable join-rate thresholds are breached.
Account Scoring
Scores new members on account age, avatar presence, and username patterns (gibberish, numeric-only, consecutive consonants). Flags suspicious accounts with optional auto-timeout.
NetWatchSnare
Trap channels that automatically punish users who post in them. Configurable per-trap actions — useful for announcement channels and decoy bot-catchers.
Lockdown Protocol
Denies SEND_MESSAGES, SEND_MESSAGES_IN_THREADS, and CREATE_PUBLIC_THREADS for @everyone across all text channels — manually or automatically on infraction.
Ban Management
Share, sync, and import bans across Blackwall-managed servers with auto-sync support. Periodically syncs Discord guild ban lists into the database for consistency across restarts.
Bot Allowlist
Only explicitly trusted bots bypass spam detection. Automated attacks disguised as bot accounts are caught and processed through the full filter pipeline.
Permission Sync
Tracks guild-level bot permissions and role changes to ensure Blackwall always has the access it needs to enforce.
Message Audit
Records deleted messages and infraction events with configurable retention for review in the dashboard.
Dry Run Mode
Test detection rules without taking action against users. Detections are logged only — perfect for tuning thresholds safely.
Per-Guild Config
Each Discord server and Twitch channel gets its own spam thresholds, module toggles, and actions managed through the web dashboard.
OAuth2 Login
Users authenticate via Discord or Twitch OAuth2. Accounts can be linked, unlinked, and merged. JWT tokens are issued for API and Web access.
Twitch Ban Sync
A background service synchronises shared ban lists across Blackwall-managed Twitch channels.
Web Dashboard
Blazor Server UI for guild and channel owners to configure spam rules, manage modules, and review audit logs visually.
Third-Party Modules
Extend detection capabilities with community-built .NET modules loaded dynamically from Git repositories. Supports Discord, Twitch, or both platforms.