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

refactor!: Return only snowflakes for bulk delete #10704

Merged
merged 4 commits into from
Jan 16, 2025

Conversation

Jiralite
Copy link
Member

We had to add undefined as a return type per #8410. This was because when message ids are supplied and deleted, they are attempted to be resolved from the cache. This removes the cache hit, and will now only return the ids that were removed. Users will have access to the messages they have cached before running this method anyway.

BREAKING CHANGE: Bulk deleting will only return the message ids that were deleted.
Copy link

vercel bot commented Jan 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 3:59pm
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 3:59pm

@almeidx almeidx merged commit e2bbfe7 into main Jan 16, 2025
8 checks passed
@almeidx almeidx deleted the refactor/bulk-delete-ids branch January 16, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants