don't fail sending to all channels if just 1 failed
This commit is contained in:
parent
99cb8fd40b
commit
8152668738
1 changed files with 0 additions and 1 deletions
|
@ -211,7 +211,6 @@ func (bot *Bot) NotifyNewBeatmap(channels []string, newMaps []osuapi.Beatmapset)
|
||||||
_, err = bot.ChannelMessageSendEmbed(channelId, embed)
|
_, err = bot.ChannelMessageSendEmbed(channelId, embed)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err = fmt.Errorf("failed to send to %s: %w", channelId, err)
|
err = fmt.Errorf("failed to send to %s: %w", channelId, err)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue