mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-12-20 10:21:22 +00:00
Lint: Disable funlen linter for sendLivePost
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
cefffe6e75
commit
354f984370
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue