diff --git a/src/main/java/cc/fascinated/bat/features/base/commands/general/LookupUserCommand.java b/src/main/java/cc/fascinated/bat/features/base/commands/general/LookupUserCommand.java index 61b4a6d..6c238bf 100644 --- a/src/main/java/cc/fascinated/bat/features/base/commands/general/LookupUserCommand.java +++ b/src/main/java/cc/fascinated/bat/features/base/commands/general/LookupUserCommand.java @@ -56,18 +56,17 @@ public class LookupUserCommand extends BatCommand { return; } - // The flags of the user (example: Discord Partner, Hypesquad Events, etc.) + // The flags of the user (eg. Discord Partner, Hypesquad Events, etc.) StringBuilder flags = new StringBuilder(); for (User.UserFlag flag : target.getFlags()) { - flags.append(flag.getName()).append(", "); + flags.append("`").append(flag.getName()).append("`, "); } - target.retrieveProfile().queue(profile -> event.replyEmbeds(EmbedUtils.genericEmbed() .setDescription(new EmbedDescriptionBuilder("User Lookup") - .appendLine("Name: `%s`".formatted(StringEscapeUtils.escapeJava(target.getGlobalName())), true) - .appendLine("Username: `%s`".formatted(StringEscapeUtils.escapeJava(target.getName())), true) - .appendLine("ID: `%s`".formatted(target.getId()), true) - .appendLine("Flags: `%s`".formatted(flags.toString().isEmpty() ? "None" : flags.substring(0, flags.length() - 2)), true) + .appendLine("Name: %s".formatted(target.getGlobalName()), true) + .appendLine("Username: %s".formatted(target.getName()), true) + .appendLine("ID: %s".formatted(target.getId()), true) + .appendLine("Flags: %s".formatted(flags.toString().isEmpty() ? "None" : flags.substring(0, flags.length() - 2)), true) .appendLine("Joined Discord: ".formatted(target.getTimeCreated().toEpochSecond()), true) .appendLine("Avatar: %s".formatted(target.getAvatar() == null ? "None" : "[click here](%s)".formatted(target.getAvatar().getUrl(4096))), true)