/autodelete set
Set a channel to automatically delete messages after a delay. By default, messages will be deleted 10 seconds after being sent, unless a custom delay is provided.
💬 Usage
/autodelete set <channel> [delay]
<channel>– The text channel you want messages to be auto-deleted from[delay]– (Optional) Time in seconds before the message is deleted (default is 10 seconds)
Enables message autodeletion for a specified channel with an optional custom delay.
📌 Example
/autodelete set #spam
This will set
#spamto delete all messages after 10 seconds
/autodelete set #bot-commands 30
This will set
#bot-commandsto delete messages after 30 seconds
🗃️ Notes
- The minimum delay is 10 seconds. Values lower than that will be rounded up.
- Useful for temporary channels like spam, venting, or clutter-prone logs.
- Only users with appropriate permissions can configure auto-delete channels.
🔍 Related Commands
/autodelete list – View a list of all active auto-delete channels
/autodelete remove – Disable autodeletion for a channel