Skip to content

Comments

Add quarantine cog#12

Merged
jslay88 merged 3 commits intomainfrom
jslay/quarantine-honeypot
Dec 23, 2025
Merged

Add quarantine cog#12
jslay88 merged 3 commits intomainfrom
jslay/quarantine-honeypot

Conversation

@jslay88
Copy link
Contributor

@jslay88 jslay88 commented Dec 23, 2025

This cog:
Listens for any message in the QUARANTINE_HONEYPOT_CHANNEL_ID
When triggered:
Deletes the honeypot message immediately
Assigns the QUARANTINE_ROLE_ID to the offending user
Iterates through all text channels in the server and uses Discord's purge() method to efficiently delete messages from that user in the last hour
Handles permissions gracefully (skips channels where the bot lacks read/manage message permissions)
Logs all actions for auditing

@jslay88 jslay88 force-pushed the jslay/quarantine-honeypot branch from 4034e53 to 7211415 Compare December 23, 2025 22:00
@jslay88 jslay88 merged commit 6c8ffaa into main Dec 23, 2025
3 of 4 checks passed
@jslay88 jslay88 deleted the jslay/quarantine-honeypot branch December 23, 2025 22:13
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