()
| 168 | } |
| 169 | |
| 170 | async function start() { |
| 171 | const tasks = userList.map(user => user.main()); |
| 172 | await Promise.all(tasks); |
| 173 | notify.sendNotify($.name, msg); |
| 174 | /*let taskall = []; |
| 175 | for (let user of userList) { |
| 176 | if (user.ckStatus) { |
| 177 | taskall.push(await user.main()); |
| 178 | } |
| 179 | } |
| 180 | await Promise.all(taskall);*/ |
| 181 | } |
| 182 | |
| 183 | !(async () => { |
| 184 | if (!(await checkEnv())) return; |