From 81b899ec592467dba80d6e13bfa3d12568796be2 Mon Sep 17 00:00:00 2001 From: John Costa Date: Mon, 30 Jun 2025 18:47:17 +0100 Subject: [PATCH] feat --- src/lib/twitch.ts | 6 ++++++ 1 file changed, 6 insertions(+) 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",