Fix: public doesn't deserve my kindness

This commit is contained in:
Bois Clément 2019-04-12 16:52:39 +02:00
parent 3f97d537bb
commit 0e73f9384b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ const M = new Mastodon({
M.get('accounts/verify_credentials').then(
me => M.get(`accounts/${me.data.id}/followers`).then(fol => {
for (const follow of fol.data) {
M.post('statuses', { status: `@${follow.acct} ${database[Math.floor(Math.random() * database.length)]}\nRandom happiness from compliment: https://git.wadza.fr/sheychen/compliment`, visibility: 'public' })
M.post('statuses', { status: `@${follow.acct} ${database[Math.floor(Math.random() * database.length)]}\nRandom happiness from compliment: https://git.wadza.fr/sheychen/compliment`, visibility: 'unlisted' })
}
})
)