maybe fix member leave??

This commit is contained in:
Lee 2024-07-03 16:34:52 +01:00
parent f30697d1a6
commit 920755eae0

View File

@ -64,8 +64,8 @@ public class MemberListener implements EventListener {
logFeature.sendLog(guild, LogType.MEMBER_LEAVE, EmbedUtils.errorEmbed()
.setDescription(new EmbedDescriptionBuilder("Member Left")
.appendLine("Member: %s".formatted(user.getDiscordUser().getAsMention()), true)
.appendLine("Username: %s".formatted(user.getDiscordUser().getName()), true)
.appendLine("Member: <@%s>".formatted(user.getId()), true)
.appendLine("Username: %s".formatted(user.getName()), true)
.build())
.build());
}