voltage icon indicating copy to clipboard operation
voltage copied to clipboard

The ability to *actually* delete messages from a channel in bulk

Open searinminecraft opened this issue 2 years ago • 0 comments

Summary

Allow us to actually bulk delete messages from a channel

What is the feature request for?

The core library

The Problem

The problem is that even though that there is a function that "purges" messages (ctx.channel.purge(x)), what it really does is that it deletes them one by one, which results in a rate limit.

The Ideal Solution

There's an endpoint in the Revolt REST API that allows deleting messages in bulk. (refer to https://developers.revolt.chat/api#tag/Messaging/operation/message_bulk_delete_req). It can only delete messages that have been sent no more than 7 days ago though.

The Current Solution

No response

Additional Context

No response

searinminecraft avatar Jul 01 '23 10:07 searinminecraft