This commit is contained in:
Lee 2024-07-04 05:14:47 +01:00
parent cdd953351a
commit b6ba778ff2
2 changed files with 0 additions and 4 deletions

@ -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();

@ -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();