From 815266873878b8d0aba32e1bfa9cb6762d4e435f Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Wed, 14 Oct 2020 17:35:18 -0500 Subject: [PATCH] don't fail sending to all channels if just 1 failed --- discord/bot.go | 1 - 1 file changed, 1 deletion(-) diff --git a/discord/bot.go b/discord/bot.go index f5b53cd..932be97 100644 --- a/discord/bot.go +++ b/discord/bot.go @@ -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 } } }