mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-09-19 01:52:56 +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
@ -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 New Issue
Block a user