forked from Fascinated/Bat
update log message
This commit is contained in:
parent
6ebfb4b289
commit
8946a18b0b
@ -153,8 +153,7 @@ public class MemberListener implements EventListener {
|
|||||||
logFeature.sendLog(batGuild, LogType.MEMBER_USERNAME_UPDATE, EmbedUtils.genericEmbed()
|
logFeature.sendLog(batGuild, LogType.MEMBER_USERNAME_UPDATE, EmbedUtils.genericEmbed()
|
||||||
.setDescription(new EmbedDescriptionBuilder("Member Avatar Updated")
|
.setDescription(new EmbedDescriptionBuilder("Member Avatar Updated")
|
||||||
.appendLine("Member: %s".formatted(user.getDiscordUser().getAsMention()), true)
|
.appendLine("Member: %s".formatted(user.getDiscordUser().getAsMention()), true)
|
||||||
// .appendLine("Old Avatar: %s".formatted(oldAvatarUrl == null ? "None" : "[avatar](%s)".formatted(oldAvatarUrl)), true)
|
.appendLine("Avatar: %s".formatted(newAvatarUrl == null ? "Removed" : "[avatar](%s)".formatted(newAvatarUrl)), true)
|
||||||
.appendLine("New Avatar: %s".formatted(newAvatarUrl == null ? "Removed" : "[avatar](%s)".formatted(newAvatarUrl)), true)
|
|
||||||
.build())
|
.build())
|
||||||
.setThumbnail(newAvatarUrl)
|
.setThumbnail(newAvatarUrl)
|
||||||
.build());
|
.build());
|
||||||
|
Loading…
Reference in New Issue
Block a user