reenable posting
This commit is contained in:
parent
5554c4b4b6
commit
8ff7c9280a
1 changed files with 10 additions and 10 deletions
20
index.js
20
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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue