Skip to content

Commit

Permalink
Merge pull request #133 from cgsdev0/badcop/update-follows
Browse files Browse the repository at this point in the history
update follows eventsub to v2
  • Loading branch information
FiniteSingularity authored Sep 16, 2023
2 parents 23b7534 + 4a08158 commit 2d1c3cb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions eventsub_subscriptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
{
"subscription_type": "Channel Follow",
"name": "channel.follow",
"version": "1",
"version": "2",
"description": "A specified channel receives a follow.",
"scope_required": null,
"scope_required": "moderator:read:followers",
"event_schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": null,
Expand Down Expand Up @@ -133,9 +133,13 @@
"broadcaster_user_id": {
"description": "The broadcaster user ID for the channel you want to get follow notifications for.",
"type": "string"
},
"moderator_user_id": {
"description": "The ID of the moderator of the channel you want to get follow notifications for. If you have authorization from the broadcaster rather than a moderator, specify the broadcaster’s user ID here.",
"type": "string"
}
},
"required": ["broadcaster_user_id"]
"required": ["broadcaster_user_id", "moderator_user_id"]
}
},
{
Expand Down

0 comments on commit 2d1c3cb

Please sign in to comment.