You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.info(`[${colors.green('✔')}] Post published: ${JSON.stringify(res)}`)
28
+
logger.info(`[${colors.green('✔')}] BlueSky post published: ${JSON.stringify(res)}`)
29
29
}catch(error){
30
-
logger.warn(`[${colors.red('❌')}] Post failed: ${colors.red(error)}`)
30
+
logger.warn(`[${colors.red('❌')}] BlueSky post failed: ${colors.red(error)}`)
31
31
}
32
32
}else{
33
-
logger.info(`[${colors.yellow('🟡')}] Skipped BlueSky post: ${colors.yellow('Post will only be published when PUBLISHING_MODE is set as an environment variable')}`)
33
+
logger.info(`[${colors.yellow('🟡')}] BlueSky post skipped: ${colors.yellow('Post will only be published when PUBLISHING_MODE is set as an environment variable')}`)
constres=awaitmasto.v1.statuses.create({ status })
18
-
logger.info(`[${colors.green('✔')}] Post published: ${res.url}`)
18
+
logger.info(`[${colors.green('✔')}] Mastodon post published: ${res.url}`)
19
19
}catch(error){
20
-
logger.warn(`[${colors.red('❌')}] Post failed: ${colors.red(error)}`)
20
+
logger.warn(`[${colors.red('❌')}] Mastodon post failed: ${colors.red(error)}`)
21
21
}
22
22
}else{
23
-
logger.info(`[${colors.yellow('🟡')}] Skipped Mastodon post: ${colors.yellow('Post will only be published when PUBLISHING_MODE is set as an environment variable')}`)
23
+
logger.info(`[${colors.yellow('🟡')}] Mastodon post skipped: ${colors.yellow('Post will only be published when PUBLISHING_MODE is set as an environment variable')}`)
logger.warn(`[${colors.red('❌')}] Reddit post failed: ${colors.red(error)}`)
25
25
})
26
26
}else{
27
-
logger.info(`[${colors.yellow('🟡')}] Skipped Reddit post: ${colors.yellow('Post will only be published when PUBLISHING_MODE is set as an environment variable')}`)
27
+
logger.info(`[${colors.yellow('🟡')}] Reddit post skipped: ${colors.yellow('Post will only be published when PUBLISHING_MODE is set as an environment variable')}`)
0 commit comments