dead8309 / Kizzy

Discord Rich Presence for Android. Made with jetpack compose and material3

Home Page:https://kizzy.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use "global_name" instead of "username"

kyoyacchi opened this issue · comments

Is your feature request related to a problem? Please describe.
Since the new Discord username system update, they've updated the api too.

Describe the solution you'd like
I think using "global_name" instead of "username" (the parameter that API returns) would be better.

Here's a Discord API(v9) json data example
Screenshot_20231004-184835

It also returns "0" as discriminator which makes it look like broken.

Screenshot_20231004-185105
Screenshot_20231004-185454

Maybe using both would be good too,
Like:
[User's Global Name]
[user's username]

Example:
Screenshot_20231004-185421_1

Describe alternatives you've considered

Additional context