Fix: It's over 9000

This commit is contained in:
Bois Clément 2019-04-12 17:00:01 +02:00
parent c16eb80387
commit 777bfad879
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ const M = new Mastodon({
})
M.get('accounts/verify_credentials').then(
me => M.get(`accounts/${me.data.id}/followers`).then(fol => {
me => M.get(`accounts/${me.data.id}/followers`, { limit: 9999 }).then(fol => {
for (const follow of fol.data) {
M.post('statuses', { status: `@${follow.acct} ${database[Math.floor(Math.random() * database.length)]}`, visibility: 'unlisted' })
}