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

Bulk Delete functionality missing #79

Open
bkuhl opened this Issue Jan 28, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@bkuhl
Copy link
Contributor

bkuhl commented Jan 28, 2019

Discord's API changed the endpoint from .../bulk_delete to .../bulk-delete and deprecated the old one. The old one appears to be deprecated in restcord's documentation but the new one isn't there. Is the new bulk delete URL supported? It honestly doesn't need to be deprecated, just updated to reference the new URL since the endpoint signature/functionality is the same.

I'd submit a PR to update it, but I think the interfaces are dynamically generated based on the docs and I'm not sure how to go about that.

@bkuhl

This comment has been minimized.

Copy link
Contributor Author

bkuhl commented Jan 28, 2019

Looking closer at this, https://www.restcord.com/Channel/Bulk%20Delete%20Messages%20(deprecated)/ may have incorrect documentation as well because all it wants is a channel id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment