From a4e0624d0fdb8f80532db1360a0d44d95646da11 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 9 Jun 2021 14:19:48 +0300 Subject: [PATCH] debug --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index 2312ce1..5ba9196 100644 --- a/index.js +++ b/index.js @@ -54,6 +54,11 @@ const listener = new WebHookListener(apiClient, adapter); console.info('Starting listener...') await listener.listen(); +await post ({ + spoiler_text: 'Debug', + status: '@hj twitch bot initialized' +}) + // we need to track the previous status of the stream because there are other state changes than the live/offline switch let prevStream = await apiClient.helix.streams.getStreamByUserId(userId);