Skip to content

Commit

Permalink
[core] Adjust logging for channel meta updates to match other events
Browse files Browse the repository at this point in the history
Signed-off-by: Knut Ahlers <[email protected]>
  • Loading branch information
Luzifer committed May 21, 2023
1 parent 0e7af1c commit 7accdea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions twitchWatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ func (t *twitchWatcher) triggerUpdate(channel string, title, category *string, o
log.WithFields(log.Fields{
"channel": channel,
"category": *category,
}).Debug("Twitch metadata changed")
}).Info("Category updated")
go handleMessage(ircHdl.Client(), nil, eventTypeTwitchCategoryUpdate, plugins.FieldCollectionFromData(map[string]interface{}{
"channel": "#" + channel,
"category": *category,
Expand All @@ -424,7 +424,7 @@ func (t *twitchWatcher) triggerUpdate(channel string, title, category *string, o
log.WithFields(log.Fields{
"channel": channel,
"title": *title,
}).Debug("Twitch metadata changed")
}).Info("Title updated")
go handleMessage(ircHdl.Client(), nil, eventTypeTwitchTitleUpdate, plugins.FieldCollectionFromData(map[string]interface{}{
"channel": "#" + channel,
"title": *title,
Expand All @@ -436,7 +436,7 @@ func (t *twitchWatcher) triggerUpdate(channel string, title, category *string, o
log.WithFields(log.Fields{
"channel": channel,
"isLive": *online,
}).Debug("Twitch metadata changed")
}).Info("Live-status updated")

evt := eventTypeTwitchStreamOnline
if !*online {
Expand Down

0 comments on commit 7accdea

Please sign in to comment.