don't fail sending to all channels if just 1 failed

This commit is contained in:
Michael Zhang 2020-10-14 17:35:18 -05:00
parent 99cb8fd40b
commit 8152668738
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B

View file

@ -211,7 +211,6 @@ func (bot *Bot) NotifyNewBeatmap(channels []string, newMaps []osuapi.Beatmapset)
_, err = bot.ChannelMessageSendEmbed(channelId, embed)
if err != nil {
err = fmt.Errorf("failed to send to %s: %w", channelId, err)
return
}
}
}