forked from Fascinated/Bat
update voice channel join/leave logs
This commit is contained in:
parent
8cdc2a853b
commit
a4e3598986
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user