Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
searinminecraft opened this issue Jul 1, 2023 · 0 comments
Open

Comments

@searinminecraft
Copy link
Contributor

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

@SinfulPhantom SinfulPhantom mentioned this issue Jul 4, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant