This n8n workflow automates the nightly cleanup of Discord channels by deleting messages older than seven days. Scheduled to run daily at 9 PM, it retrieves all channels from a specified Discord server, respects API rate limits with cooldown pauses, and systematically deletes outdated messages. The process begins by fetching all channels, then loops through each channel to fetch messages, filters out messages older than a week, and deletes them while managing API rate limits to prevent throttling or bans. This workflow helps maintain a tidy Discord server automatically, reducing manual moderation effort and ensuring compliance with message retention policies. It is ideal for community managers, moderation teams, and organizations looking to automate server maintenance and keep their channels relevant and clutter-free.
Automated Discord Channel Cleanup Scheduler
Node Count | 11 – 20 Nodes |
---|---|
Nodes Used | discord, filter, scheduleTrigger, splitInBatches, stickyNote, wait |
Reviews
There are no reviews yet.