From 3878d3029bf547c5925812b9e91fcae04864163c Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 3 Jul 2024 23:09:28 +0100 Subject: [PATCH] mention voice channel in the embed --- .../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 1dbf1ec..ddfc40b 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 @@ -83,7 +83,7 @@ public class ChannelListener implements EventListener { log.info("User \"{}\" {} voice channel \"{}\" in guild \"{}\"", user.getId(), joined ? "joined" : "left", voiceChannel.getName(), guild.getName()); String description = new EmbedDescriptionBuilder("User %s Voice Channel".formatted(joined ? "Joined" : "Left")) .appendLine("User: %s".formatted(user.getDiscordUser().getAsMention()), true) - .appendLine("Channel: %s".formatted(voiceChannel.getName()), true) + .appendLine("Channel: %s".formatted(voiceChannel.getAsMention()), true) .build(); if (joined) { logFeature.sendLog(guild, LogType.VOICE_CHANNEL_JOIN, EmbedUtils.successEmbed().setDescription(description).build());