Change avatar embed format
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2022-11-20 18:22:32 +01:00
parent 33d81acc64
commit 679d16e1fa

View File

@ -54,8 +54,9 @@ public class AvatarCommand
// embed processing // embed processing
{ {
embedBuilder.setColor(Color.PINK); embedBuilder.setColor(Color.PINK);
embedBuilder.setAuthor(event.getUser().getAsTag(), null, event.getUser().getEffectiveAvatarUrl()); embedBuilder.setTitle("Profile picture");
embedBuilder.setTitle(user.getAsTag() + "'s profile picture");
embedBuilder.addField("User", "<@" + user.getId() + ">", false);
embedBuilder.addField("Current resolution", resolution + " × " + resolution, false); embedBuilder.addField("Current resolution", resolution + " × " + resolution, false);