carpet-discarpet
carpet-discarpet copied to clipboard
dc_get_display_name does not work for User Profile display name
I'm not sure when this started to become an issue, but players in my server noticed it today. Some users' discord names in the minecraft chat were showing their username instead of their display name.
We did a lot of testing and concluded the following:
The display name in your Server Profile for the server is picked up by dc_get_display_name
, but the display name in your User Profile is not in which case the username is returned by dc_get_display_name
. Which means only people with nitro profiles can use their display name in our chat bridge.
As always thank you for your continued support and development of this fantastic mod!
Apparently this is not yet supported by Javacord (See https://github.com/Javacord/Javacord/pull/1260) Until then maybe you could resort to manually getting the global_name with http requests