Lint: Disable funlen linter for sendLivePost

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-11-05 16:38:24 +01:00
parent cefffe6e75
commit 354f984370
Signed by: luzifer
GPG Key ID: 0066F03ED215AD7D

View File

@ -220,6 +220,7 @@ func (m *modLivePosting) handlePresenceUpdate(d *discordgo.Session, p *discordgo
}
}
//nolint:funlen // Makes no sense to split just for 2 lines
func (m *modLivePosting) sendLivePost(username, displayName, title, game, previewImage, profileImage string) error {
m.lock.Lock()
defer m.lock.Unlock()