From a4e3598986d08581603e59285bbe9badec6e284d Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 4 Jul 2024 04:38:02 +0100 Subject: [PATCH] update voice channel join/leave logs --- .../bat/features/logging/listeners/ChannelListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc/fascinated/bat/features/logging/listeners/ChannelListener.java b/src/main/java/cc/fascinated/bat/features/logging/listeners/ChannelListener.java index 51c2362..f793afa 100644 --- a/src/main/java/cc/fascinated/bat/features/logging/listeners/ChannelListener.java +++ b/src/main/java/cc/fascinated/bat/features/logging/listeners/ChannelListener.java @@ -81,7 +81,7 @@ public class ChannelListener implements EventListener { lastVoiceChannel.remove(user); } log.info("User \"{}\" {} voice channel \"{}\" in guild \"{}\"", user.getName(), joined ? "joined" : "left", voiceChannel.getName(), guild.getName()); - String description = new EmbedDescriptionBuilder("User %s Voice Channel".formatted(joined ? "Joined" : "Left")) + String description = new EmbedDescriptionBuilder("Member %s Voice Channel".formatted(joined ? "Joined" : "Left")) .appendLine("User: %s".formatted(user.getDiscordUser().getAsMention()), true) .appendLine("Channel: %s".formatted(voiceChannel.getAsMention()), true) .build();