From 920755eae05a566782ff834a89933d68d0dfab66 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 3 Jul 2024 16:34:52 +0100 Subject: [PATCH] maybe fix member leave?? --- .../bat/features/logging/listeners/MemberListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/features/logging/listeners/MemberListener.java b/src/main/java/cc/fascinated/bat/features/logging/listeners/MemberListener.java index 5165117..9877afc 100644 --- a/src/main/java/cc/fascinated/bat/features/logging/listeners/MemberListener.java +++ b/src/main/java/cc/fascinated/bat/features/logging/listeners/MemberListener.java @@ -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()); }