fix new avatar being broken if they remove their avatar
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 43s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 43s
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