Rifd commited on
Commit
85e105b
·
1 Parent(s): 6d7ee15
Files changed (2) hide show
  1. account +3 -0
  2. up.js +13 -6
account ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ termai
2
+ megawomn
3
+ aryhw
up.js CHANGED
@@ -1,4 +1,6 @@
1
  require('dotenv/config')
 
 
2
  const { exec } = require('child_process');
3
  const key = "Abr0M3fvrtOxT09MS1ZwmUq"
4
 
@@ -34,9 +36,14 @@ const push = async (username) => {
34
  }
35
  };
36
 
37
- let names = [
38
- "termai",
39
- "aryhw"
40
- ]
41
- push("termai")
42
- .then(()=> process.exit())
 
 
 
 
 
 
1
  require('dotenv/config')
2
+ const fs = require("fs")
3
+ let accounts = fs.readFileSync('./account', 'utf8').split("\n")
4
  const { exec } = require('child_process');
5
  const key = "Abr0M3fvrtOxT09MS1ZwmUq"
6
 
 
36
  }
37
  };
38
 
39
+
40
+ let custom = "megawomn"
41
+ let _accounts = custom ? [custom] : accounts
42
+ console.log(_accounts);
43
+ (async()=> {
44
+ for(let account of _accounts){
45
+ await push(account)
46
+ console.log('✅success', { account })
47
+ }
48
+ setTimeout(() => process.exit(), 3000)
49
+ })()