debug
This commit is contained in:
parent
a04a439c2b
commit
a4e0624d0f
1 changed files with 5 additions and 0 deletions
5
index.js
5
index.js
|
|
@ -54,6 +54,11 @@ const listener = new WebHookListener(apiClient, adapter);
|
||||||
console.info('Starting listener...')
|
console.info('Starting listener...')
|
||||||
await listener.listen();
|
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
|
// 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);
|
let prevStream = await apiClient.helix.streams.getStreamByUserId(userId);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue