The "Delete messages after" setting allows you to create a temporal boundary for your deletion config. Only messages sent AFTER a specific message will be considered for deletion by your config.
This is useful when you want to preserve older conversation history while applying auto-deletion rules to newer messages.
- Click the "Delete messages after" button in your config settings
- Enter the Message ID of the boundary message
- The bot will only delete messages that were sent after this message
All messages sent before (and including) the specified message will be completely ignored by this config.
To get a message ID, you need to enable Developer Mode in Discord:
Learn how to find message IDs:
Quick steps:
- Enable Developer Mode in Discord Settings → Advanced → Developer Mode
- Right-click on any message
- Select "Copy Message ID"
- Paste the ID into the bot's configuration
To disable the "delete messages after" filter and process all messages regardless of age:
- Enter
0 as the message ID
- This will remove the temporal boundary
- Preserve announcements: Set the boundary after important announcements to keep them visible
- Fresh starts: Begin auto-deletion from a specific point in time without affecting history
- Event-based cleanup: Only delete messages after an event started
- Gradual rollout: Test deletion on new messages before applying to entire history