fix shutdown db saving
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 47s

This commit is contained in:
Lee
2024-07-04 02:25:26 +01:00
parent 78daf4531b
commit 96486bb3a1
5 changed files with 13 additions and 14 deletions

View File

@ -80,7 +80,7 @@ public class ChannelListener implements EventListener {
if (!joined) {
lastVoiceChannel.remove(user);
}
log.info("User \"{}\" {} voice channel \"{}\" in guild \"{}\"", user.getId(), joined ? "joined" : "left", voiceChannel.getName(), guild.getName());
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"))
.appendLine("User: %s".formatted(user.getDiscordUser().getAsMention()), true)
.appendLine("Channel: %s".formatted(voiceChannel.getAsMention()), true)