From 323ff63ef38cfc6e9b35ac553ca1ed2c22100b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lillie=E2=84=A2?= <66176496+lilliepad1@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:28:29 -0400 Subject: [PATCH] (hopefully) fix "cannot find symbol" errors --- src/main/java/com/jagrosh/jmusicbot/audio/AudioHandler.java | 4 ---- .../java/com/jagrosh/jmusicbot/audio/NowplayingHandler.java | 5 ----- 2 files changed, 9 deletions(-) diff --git a/src/main/java/com/jagrosh/jmusicbot/audio/AudioHandler.java b/src/main/java/com/jagrosh/jmusicbot/audio/AudioHandler.java index d389ef188..7ab48668f 100644 --- a/src/main/java/com/jagrosh/jmusicbot/audio/AudioHandler.java +++ b/src/main/java/com/jagrosh/jmusicbot/audio/AudioHandler.java @@ -261,10 +261,6 @@ public Message getNowPlaying(JDA jda, boolean includeProgress) + FormatUtil.volumeIcon(audioPlayer.getVolume())); } else - eb.setDescription(" `[" + FormatUtil.formatTime(track.getDuration()) + "]` " - + FormatUtil.volumeIcon(audioPlayer.getVolume())); - - return mb.setEmbeds(eb.build()).build(); } else return null; } diff --git a/src/main/java/com/jagrosh/jmusicbot/audio/NowplayingHandler.java b/src/main/java/com/jagrosh/jmusicbot/audio/NowplayingHandler.java index 16eb15f79..81de54299 100644 --- a/src/main/java/com/jagrosh/jmusicbot/audio/NowplayingHandler.java +++ b/src/main/java/com/jagrosh/jmusicbot/audio/NowplayingHandler.java @@ -132,11 +132,6 @@ public void onTrackUpdate(AudioTrack track) else bot.resetGame(); } - // update channel topic if applicable - updateTopic(guildId, handler, false); - - if(bot.getConfig().getAutoNowPlaying()) - sendNowPlayingMessageForNewTrack(guildId); }