-
Notifications
You must be signed in to change notification settings - Fork 787
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
Update bulk-delete #320
Comments
@bwmarrin would you have an opinion on how the library should handle a situation like the OP mentioned? I imagine we wouldn't want to be sending out (up to) 100 individual message delete calls for messages older than 2 weeks, but I'm also not sure if handling this situation is within the scope of the library at all, as the functionality is within the API itself. The other way I would think to do it is returning an error if the call tries to delete anything older than 2 weeks, but again, I'm not sure if that's along with the spirit of the library. |
From Discord API Channel
So We need to update bulk delete but well older message will stay in trouble for deletion as the "purger channel" endpoint still no there for now. |
Currently restapi uses old now deprecated endpoint
/bulk_delete
, the new endpoint is/bulk-delete
.Also bulk-delete won't delete messages older then 2 weeks now, probably should handle that on the side of the library somehow.
The text was updated successfully, but these errors were encountered: