mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 11:51:17 +00:00
[eventsub] Add status
field to poll_end
event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
620a44282a
commit
217545fc68
1 changed files with 1 additions and 0 deletions
|
@ -279,6 +279,7 @@ func (t *twitchWatcher) handleEventSubChannelPollChange(event *string) func(json
|
|||
logger.Info("Poll started")
|
||||
|
||||
case eventTypePollEnd:
|
||||
fields.Set("status", payload.Status)
|
||||
logger.WithField("status", payload.Status).Info("Poll ended")
|
||||
|
||||
case eventTypePollProgress:
|
||||
|
|
Loading…
Reference in a new issue