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

fix(MessageEmbed): only compare image urls in #equals #6926

Merged
merged 1 commit into from Nov 1, 2021

Conversation

ImRodry
Copy link
Contributor

@ImRodry ImRodry commented Oct 31, 2021

Please describe the changes this PR makes and why it should be merged:
This PR removes proxy_url, height and width comparisons in all image related fields in embeds for the #equals method as the library does not set these values (they get ignored by the API), making it impossible to compare a local embed with an embed received from the API.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

@iCrawl iCrawl merged commit 95d2a4d into discordjs:main Nov 1, 2021
@iCrawl iCrawl modified the milestones: Version 13.4, Version 13.3.1 Nov 1, 2021
@ImRodry ImRodry deleted the fix-embed branch November 1, 2021 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants