riking / AutoDelete

A Discord bot that automatically deletes all messages in a designated channel on a rolling basis
Apache License 2.0
326 stars 118 forks source link

Not deleting messages #26

Closed raphattack closed 2 years ago

raphattack commented 3 years ago

I set up the bot in a channel with:

@AutoDelete set 72h

It gives the following warning and does nothing:

The number of messages in this channel is over 200. Messages may not be reliably deleted. (Saw: 200)
FlorianWendelborn commented 3 years ago

I‘m also wondering if there’s any way to fix/workaround this limit. 200 messages is quite little for most discord instances.

In my particular use-case, I have an auto-delete that deletes after 1 month. That means it only works up to 7 messages per day...

Is it possible to implement this? I’d say it should be, given that I can manually delete the older messages without any issues.

riking commented 2 years ago

Donating on Patreon raises the backlog limit to 1000. Longer buffers are not feasible for the public instance of the bot, but you can enable them if you run the bot yourself.