Betsy Bot Documentation
  • Betsy Bot Discord Bot
    • Betsy Premium Subscriptions
  • Global Commands
    • /user
    • /ticket
    • /payment
    • /giveaway
    • /channel
    • /ai
    • /review
    • /github
    • /key-value
  • Features
    • Settings
      • Auto Roles
      • Setting up your custom bot
      • Global command management
      • Update configuration owner
    • Support Panels (Tickets)
      • Create Support Panel
      • Edit Support Panel
      • Delete a Support Panel
      • Copy a Support Panel
      • Custom Implementations
    • Giveaways
      • Create giveaways
      • Edit giveaways
      • Delete giveaways
    • Polls
      • Create a poll
      • Edit a poll
      • Delete poll
    • Thread Channels
      • Create Thread Channels
      • Edit Threads Channel
      • Delete Thread Channels
      • Disable a Thread Channel
    • Send Message / Announcement
      • Create Message/Announcement
    • Tracked messages
      • Create Tracked Messages
      • Edit Tracked Messages
      • Copy Tracked Messages
      • Delete Tracked Messages
    • Sticky Messages
    • Welcome Messages
      • Create Welcome Messages
      • Edit Welcome Messages
      • Delete Welcome Messages
    • Auto Responders
      • Create Auto Responders
      • Edit Auto Responders
      • Delete Auto Responders
    • Custom commands
      • Create custom commands
      • Edit custom commands
      • Delete custom commands
    • Invite Tracker
    • Payments
    • Action Logs
    • Invite Link Blocker
    • Role Selection
    • Channel Cleaners
      • Create channel cleaners
      • Delete configuration of a cleaning channel
      • Update channel cleaning
    • User Verification
    • Reviews
    • Twitch Event Subscriptions
    • Channel Backups
  • Configurable Commands
    • Response Commands
    • Data Commands
      • Forms
      • REST Commands
  • Extras
    • Server Resources
      • Message Templates
      • Forms
      • Key Value Storage
    • Message Templating Engine
      • Message FAQs
    • Custom ID Actions
    • Betsy REST API
      • Webhooks
    • Betsy Webhook Messages
    • Github Integration
Powered by GitBook
On this page

Was this helpful?

  1. Features
  2. Channel Cleaners

Create channel cleaners

Channel cleaners are an easy way to keep your channel history clean.

PreviousChannel CleanersNextDelete configuration of a cleaning channel

Last updated 1 year ago

Was this helpful?

Good to Know: Channel cleaners run every hour on the hour.

Channel Cleaners

  1. In betzy's dashboard go to "Channel Cleaners"

  2. You will notice the "Create New Cleaner" component

  3. From the drop-down list select channel or category to delete

  4. Enter the time in hours you want to delete

Important: - The discord API does not allow the bulk deletion of messages older than 14 days. Any messages older than 14 days will be ignored. - Due to the inefficiency of how the discord API is able to handle this we will only search the most recently 500 messages each run. Every time this runs as well it will search remaining messages, so if little messages are sent in that hour it could delete messages older than the previous run if you hit the 500 max in the previous run.

  1. Click "add" button

  2. You will be able to see your new record on the screen

  3. Messages older than 1 hours old are deleted hourly at the top of the hour.

This is a very taxing operation for both Betsy API and the rate limits of the Discord API. This is an experimental feature and will be evaluated often. It could be removed in the future if it poses risk to Betsy. You do NOT get Message Delete events for this operation. Discord does not support message delete events for bulk deletions.