Skip to content

Commit

Permalink
[eventsub] Suspicious user topics were moved from beta to v1
Browse files Browse the repository at this point in the history
Signed-off-by: Knut Ahlers <knut@ahlers.me>
  • Loading branch information
Luzifer committed Apr 13, 2024
1 parent 932879c commit f56a7a3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions twitchWatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,13 @@ func (t *twitchWatcher) getTopicRegistrations(userID string) []topicRegistration
},
{
Topic: twitch.EventSubEventTypeChannelSuspiciousUserMessage,
Version: twitch.EventSubTopicVersionBeta,
Condition: twitch.EventSubCondition{BroadcasterUserID: userID, ModeratorUserID: userID},
RequiredScopes: []string{twitch.ScopeModeratorReadSuspiciousUsers},
Hook: t.handleEventSubSusUserMessage,
Optional: true,
},
{
Topic: twitch.EventSubEventTypeChannelSuspiciousUserUpdate,
Version: twitch.EventSubTopicVersionBeta,
Condition: twitch.EventSubCondition{BroadcasterUserID: userID, ModeratorUserID: userID},
RequiredScopes: []string{twitch.ScopeModeratorReadSuspiciousUsers},
Hook: t.handleEventSubSusUserUpdate,
Expand Down

0 comments on commit f56a7a3

Please sign in to comment.