forked from CDAGaming/DiscordIPC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Change] Updates for Pomelo API Changes
Ref: https://discord.com/developers/docs/change-log#unique-usernames-on-discord - Added null-safety for the discriminator field (Now defaults to `0` if no longer present in the Json) - Fixed `getDefaultAvatarId` calculation to support non-discriminator lookups - `global_name` is not being supported at this time, due to its infancy in the API. It will be added in a future commit once it becomes present in the API.
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters