/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 #spam to delete all messages after 10 seconds

/autodelete set #bot-commands 30

This will:

  • Set #bot-commands to 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.


Last updated