Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async function store () {
- const { items } = await api.friends.getRequests({
- count: 1000,
- sort: 1,
- need_mutual: 0,
- out: 0,
- sort: 1,
- extended: 0,
- need_viewed: 0,
- suggested: 0
- });
- for (const item of items) {
- const ban = await api.account.ban({
- owner_id: item
- });
- console.log(`id: ${item} state: ${ban}`);
- };
- setTimeout(() => store(), 5000);
- };
- store();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement