File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/vc/api/model Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ public interface ProfileData {
88 String name ();
99 UUID uuid ();
1010
11- default String getNameMCLink (UUID uuid ) {
12- return "https://namemc.com/profile/" + uuid .toString ();
11+ default String getNameMCLink () {
12+ return "https://namemc.com/profile/" + uuid () .toString ();
1313 }
1414
1515 default String getAvatarURL () {
@@ -27,8 +27,8 @@ default String toDiscordFieldValue() {
2727 // discord markdown does not support escaping inside links
2828 // well, it does, but the backslashes are always visible so its arguably worse
2929 // https://github.com/discord/discord-api-docs/issues/6185
30- fmt = "%s ([link ](%s) )" ;
30+ fmt = "[`%s` ](%s)" ;
3131 }
32- return String .format (fmt , nameEscaped , getNameMCLink (uuid () ));
32+ return String .format (fmt , name () , getNameMCLink ());
3333 }
3434}
You can’t perform that action at this time.
0 commit comments