forked from Fascinated/Bat
fixes
This commit is contained in:
parent
cdd953351a
commit
b6ba778ff2
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user