Skip to content

Commit

Permalink
watcher: Add context to PartialMatch events
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanConnell committed Apr 28, 2024
1 parent 662bc37 commit fad72a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/watcher/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ func (w *Watcher) Notify(events []*ticketmaster.Event, partialEventIDs *set.Set[
}
if partialEventIDs.Contains(event.ID) {
embed.Color = 12535447
embed.Title = "__Partial Match__"
embed.Title = fmt.Sprintf("__Partial Match__ (on %q)",
event.Embedded.Attractions[0].Name)
}

// Add information about band and supporting acts.
Expand Down

0 comments on commit fad72a4

Please sign in to comment.