Skip to content

Add automatic Discord spam moderation - #94

Merged
apoorvdarshan merged 2 commits into
mainfrom
feat/discord-spam-moderation
Oct 30, 2026
Merged

apoorvdarshan merged 2 commits into
mainfrom
feat/discord-spam-moderation

Conversation

@apoorvdarshan

Copy link
Copy Markdown
Owner

Adds automatic moderation matching Fuddy: a 10-minute timeout, a 24-hour timeout, then an automatic ban for qualifying spam incidents. Strikes reset after 30 quiet days; the verified owner is exempt and ordinary GitHub sharing stays allowed.

A server-scoped Durable Object checks new messages once a minute, persists action checkpoints, suppresses burst/retry double-strikes, and sends ambiguous promotions only to a private log. Includes privacy disclosure and operational/recovery documentation. Existing commands and schedules remain intact.

Updates the existing undici override to 7.30.1 to clear the pre-existing audit failure, matching Fud AI.

Validation: 41 Worker tests (24 moderation regressions), 4 fuzz suites, production Next.js build, zero npm audit vulnerabilities, and Wrangler deployment dry run pass. No real member was used for enforcement testing.

@apoorvdarshan
apoorvdarshan merged commit 025b57e into main Oct 30, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant