Docs/Plugins

Autodelete plugin

Automatically delete messages in a channel after a configured delay.

#Configuration

yaml
plugins:
  autodelete:
    enabled: true
    config:
      default_delay_seconds: 60
    overrides:
      - level: ">=50"
        config:
          can_set: true
          can_clear: true
FieldDescription
default_delay_secondsDefault delete delay when not specified on /autodelete set

#Commands

CommandPermissionDescription
/autodelete setcan_setEnable autodelete on a channel
/autodelete clearcan_clearDisable autodelete on a channel

#Requirements

  • The bot needs Manage Messages in the target channel.
  • Delay can be set from 1 second up to 604800 seconds (7 days).