mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 11:51:17 +00:00
[eventsub] Switch to channel.update/2
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
0b8196b127
commit
d74105bc00
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue