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(Reactions): make MessageRection#id again null for default emojis #1940

Merged
merged 1 commit into from
Sep 14, 2017

Conversation

SpaceEEC
Copy link
Member

Please describe the changes this PR makes and why it should be merged:

This was causing issues when resolving emoji identifiers for default emojis.
For example when removing a reaction; Trying to do so rejected with "P" is not a valid Snowflake.

Also MessageRection#id is stated as nullable Snowflake, which a unicode not is.

Semantic versioning classification:

  • This PR changes the library's interface (methods or parameters added)
    • This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
  • This PR only includes non-code changes, like changes to documentation, README, etc.

Which was causing issues when resolving their identifier and MessageRection#id was also stated as nullable Snowflake, which a unicode not is
@iCrawl iCrawl merged commit 25ece18 into discordjs:master Sep 14, 2017
@SpaceEEC SpaceEEC deleted the MessageReaction branch September 14, 2017 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants