mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 03:41:16 +00:00
[eventsub] Suspicious user topics were moved from beta to v1
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
932879c8df
commit
f56a7a3266
1 changed files with 0 additions and 2 deletions
|
@ -234,7 +234,6 @@ func (t *twitchWatcher) getTopicRegistrations(userID string) []topicRegistration
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Topic: twitch.EventSubEventTypeChannelSuspiciousUserMessage,
|
Topic: twitch.EventSubEventTypeChannelSuspiciousUserMessage,
|
||||||
Version: twitch.EventSubTopicVersionBeta,
|
|
||||||
Condition: twitch.EventSubCondition{BroadcasterUserID: userID, ModeratorUserID: userID},
|
Condition: twitch.EventSubCondition{BroadcasterUserID: userID, ModeratorUserID: userID},
|
||||||
RequiredScopes: []string{twitch.ScopeModeratorReadSuspiciousUsers},
|
RequiredScopes: []string{twitch.ScopeModeratorReadSuspiciousUsers},
|
||||||
Hook: t.handleEventSubSusUserMessage,
|
Hook: t.handleEventSubSusUserMessage,
|
||||||
|
@ -242,7 +241,6 @@ func (t *twitchWatcher) getTopicRegistrations(userID string) []topicRegistration
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Topic: twitch.EventSubEventTypeChannelSuspiciousUserUpdate,
|
Topic: twitch.EventSubEventTypeChannelSuspiciousUserUpdate,
|
||||||
Version: twitch.EventSubTopicVersionBeta,
|
|
||||||
Condition: twitch.EventSubCondition{BroadcasterUserID: userID, ModeratorUserID: userID},
|
Condition: twitch.EventSubCondition{BroadcasterUserID: userID, ModeratorUserID: userID},
|
||||||
RequiredScopes: []string{twitch.ScopeModeratorReadSuspiciousUsers},
|
RequiredScopes: []string{twitch.ScopeModeratorReadSuspiciousUsers},
|
||||||
Hook: t.handleEventSubSusUserUpdate,
|
Hook: t.handleEventSubSusUserUpdate,
|
||||||
|
|
Loading…
Reference in a new issue