Add API Endpoint for Bots to Delete All Messages in a Channel #7894
Unanswered
ziomek64
asked this question in
API Feature Requests & Ideas
Replies: 2 comments 1 reply
-
|
This is just really really really bad for soooo many reasons, might as well delete the channel atp.
Then just save those channel overwrites and replace them with the new channels or smth. Not sure why keeping channel ID is crucial |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Never forget #208
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Allow bots to perform a bulk deletion of all messages in a channel through a single command or API call, rather than deleting messages individually or in small batches.
Problem:
Currently, Discord bots can only delete messages using:
The Bulk Delete, which is limited to messages younger than 14 days, and
Individual message deletions, which are inefficient, rate-limited, and resource-intensive when clearing large channels.
Benefits:
Greatly simplifies cleanup automation for bots and moderators, where keeping Channel ID or channel override permissions is crucial.
Beta Was this translation helpful? Give feedback.
All reactions