SHARE
TWEET

Untitled

a guest Jul 18th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. async function store () {
  2.     const { items } = await api.friends.getRequests({
  3.         count: 1000,
  4.         sort: 1,
  5.         need_mutual: 0,
  6.         out: 0,
  7.         sort: 1,
  8.         extended: 0,
  9.         need_viewed: 0,
  10.         suggested: 0
  11.     });
  12.  
  13.     for (const item of items) {
  14.         const ban = await api.account.ban({
  15.             owner_id: item
  16.         });
  17.  
  18.         console.log(`id: ${item} state: ${ban}`);
  19.     };
  20.  
  21.     setTimeout(() => store(), 5000);
  22. };
  23.  
  24. store();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top