From d74105bc0035a50e68436141d1a1984fc86372f8 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 21 Jul 2023 23:55:03 +0200 Subject: [PATCH] [eventsub] Switch to `channel.update/2` Signed-off-by: Knut Ahlers --- twitchWatcher.go | 1 + 1 file changed, 1 insertion(+) diff --git a/twitchWatcher.go b/twitchWatcher.go index 3b2429e..4356a18 100644 --- a/twitchWatcher.go +++ b/twitchWatcher.go @@ -114,6 +114,7 @@ func (t *twitchWatcher) getTopicRegistrations(userID string) []topicRegistration return []topicRegistration{ { Topic: twitch.EventSubEventTypeChannelUpdate, + Version: twitch.EventSubTopicVersion2, Condition: twitch.EventSubCondition{BroadcasterUserID: userID}, RequiredScopes: nil, Hook: t.handleEventSubChannelUpdate,