Fix: It's over 9000
This commit is contained in:
parent
c16eb80387
commit
777bfad879
2
index.js
2
index.js
|
@ -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' })
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue