forked from Fascinated/Bat
fix new avatar being broken if they remove their avatar
This commit is contained in:
parent
6ba802912f
commit
06ded19492
@ -151,7 +151,7 @@ public class MemberListener implements EventListener {
|
||||
.setDescription(new EmbedDescriptionBuilder("Member Avatar Updated")
|
||||
.appendLine("Member: %s".formatted(user.getDiscordUser().getAsMention()), true)
|
||||
// .appendLine("Old Avatar: %s".formatted(oldAvatarUrl == null ? "None" : "[avatar](%s)".formatted(oldAvatarUrl)), true)
|
||||
.appendLine("New Avatar: [avatar](%s)".formatted(newAvatarUrl), true)
|
||||
.appendLine("New Avatar: %s".formatted(newAvatarUrl == null ? "Removed" : "[avatar](%s)".formatted(newAvatarUrl)), true)
|
||||
.build())
|
||||
.setThumbnail(newAvatarUrl)
|
||||
.build());
|
||||
|
Loading…
x
Reference in New Issue
Block a user