From b6ba778ff2d5c52f3d2db3eaa6b0df04aaa19a5e Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 4 Jul 2024 05:14:47 +0100 Subject: [PATCH] fixes --- .../bat/features/scoresaber/NumberOneScoreFeedListener.java | 2 -- .../bat/features/scoresaber/UserScoreFeedListener.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/features/scoresaber/NumberOneScoreFeedListener.java b/src/main/java/cc/fascinated/bat/features/scoresaber/NumberOneScoreFeedListener.java index f1ece1f..fb9a102 100644 --- a/src/main/java/cc/fascinated/bat/features/scoresaber/NumberOneScoreFeedListener.java +++ b/src/main/java/cc/fascinated/bat/features/scoresaber/NumberOneScoreFeedListener.java @@ -65,8 +65,6 @@ public class NumberOneScoreFeedListener implements EventListener { TextChannel channel = profile.getTextChannel(); if (channel == null) { - log.error("Scoresaber user feed channel is null for guild {}, removing the stored channel.", guild.getId()); - profile.setChannelId(null); continue; } channel.sendMessageEmbeds(ScoreSaberFeature.buildScoreEmbed(score)).queue(); diff --git a/src/main/java/cc/fascinated/bat/features/scoresaber/UserScoreFeedListener.java b/src/main/java/cc/fascinated/bat/features/scoresaber/UserScoreFeedListener.java index c95b8f8..f0b5e26 100644 --- a/src/main/java/cc/fascinated/bat/features/scoresaber/UserScoreFeedListener.java +++ b/src/main/java/cc/fascinated/bat/features/scoresaber/UserScoreFeedListener.java @@ -51,8 +51,6 @@ public class UserScoreFeedListener implements EventListener { TextChannel channel = profile.getTextChannel(); if (channel == null) { - log.error("Scoresaber user feed channel is null for guild {}, removing the stored channel.", guild.getId()); - profile.setChannelId(null); continue; } channel.sendMessageEmbeds(ScoreSaberFeature.buildScoreEmbed(score)).queue();