diff --git a/src/lib/twitch.ts b/src/lib/twitch.ts index 95f25f2..da50424 100644 --- a/src/lib/twitch.ts +++ b/src/lib/twitch.ts @@ -10,6 +10,9 @@ const authBodyValidator = z.object({ type TwitchSubscribeBody = { type: "channel.follow"; version: 2; + condition: { + broadcaster_user_id: "1093261112", + }, transport: { method: "webhook"; callback: string; @@ -70,6 +73,9 @@ export const createTwitchClient = () => { body: JSON.stringify({ type: "channel.follow", version: 2, + condition: { + broadcaster_user_id: '1093261112' + }, transport: { callback: "https://twitch.johncosta.tech/api/webhook", method: "webhook",