From 8ff7c9280a482ce73343a5c9065ee3eea52f0259 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 14 Jan 2026 17:33:36 +0200 Subject: [PATCH] reenable posting --- index.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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',