From 679d16e1fa9d0861e1af2268fb89f0211e4ece8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Sun, 20 Nov 2022 18:22:32 +0100 Subject: [PATCH] Change avatar embed format --- .../wtf/beatrice/hidekobot/slashcommands/AvatarCommand.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/wtf/beatrice/hidekobot/slashcommands/AvatarCommand.java b/src/main/java/wtf/beatrice/hidekobot/slashcommands/AvatarCommand.java index b937530..f3a4eed 100644 --- a/src/main/java/wtf/beatrice/hidekobot/slashcommands/AvatarCommand.java +++ b/src/main/java/wtf/beatrice/hidekobot/slashcommands/AvatarCommand.java @@ -54,8 +54,9 @@ public class AvatarCommand // embed processing { embedBuilder.setColor(Color.PINK); - embedBuilder.setAuthor(event.getUser().getAsTag(), null, event.getUser().getEffectiveAvatarUrl()); - embedBuilder.setTitle(user.getAsTag() + "'s profile picture"); + embedBuilder.setTitle("Profile picture"); + + embedBuilder.addField("User", "<@" + user.getId() + ">", false); embedBuilder.addField("Current resolution", resolution + " × " + resolution, false);