diff --git a/index.js b/index.js index 7323070..1a55201 100644 --- a/index.js +++ b/index.js @@ -139,16 +139,16 @@ const loop = async () => { if (stateChange) { if (isLive) { console.info('Went live!'); - // const postResult = await post({ - // spoiler_text: 'Stream announcment', - // status: [ - // '@hj just went live on peertube', - // '', - // `https://tube.ebin.club/w/${videoId}`, - // ].join('\n'), - // visibility: 'public', - // }); - // console.info('post: ' + postResult.status); + const postResult = await post({ + spoiler_text: 'Stream announcment', + status: [ + '@hj just went live on peertube', + '', + `https://tube.ebin.club/w/${videoId}`, + ].join('\n'), + visibility: 'public', + }); + console.info('post: ' + postResult.status); const scrobbleResult = await scrobble({ // artist: 'Peertube',