Skip to content

Commit

Permalink
Updating Avatar command.
Browse files Browse the repository at this point in the history
  • Loading branch information
DxsSucuk committed Jan 4, 2024
1 parent 0b0a423 commit 1e1cbe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/de/presti/ree6/commands/impl/info/Avatar.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public String[] getAlias() {
public void sendAvatar(User member, CommandEvent commandEvent) {
EmbedBuilder em = new EmbedBuilder();

em.setTitle(member.getEffectiveName() + (UserUtil.isSupporter(member) ? " <a:duckswing:1070690323459735682>" : ""), member.getEffectiveAvatarUrl());
em.setImage(member.getEffectiveAvatarUrl());
em.setAuthor(member.getEffectiveName() + (UserUtil.isSupporter(member) ? " <a:duckswing:1070690323459735682>" : ""), member.getEffectiveAvatarUrl(), member.getEffectiveAvatarUrl());
em.setImage(member.getEffectiveAvatar().getUrl(1024));
em.setFooter("Requested by " + commandEvent.getMember().getEffectiveName() + " - " + BotConfig.getAdvertisement(), commandEvent.getMember().getEffectiveAvatarUrl());

commandEvent.reply(em.build());
Expand Down

0 comments on commit 1e1cbe0

Please sign in to comment.