forked from metowolf/BilibiliHelper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
38 lines (34 loc) · 988 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*!
* metowolf BilibiliHelper
* https://i-meto.com/
*
* Copyright 2019, metowolf
* Released under the MIT license
*/
const module_auth = require('./modules/auth')
const module_tasks = require('./modules/tasks')
const module_heart = require('./modules/heart')
const module_silver = require('./modules/silver')
const module_group = require('./modules/group')
const module_capsule = require('./modules/capsule')
const module_giftsend = require('./modules/giftsend')
const module_dailybag = require('./modules/dailybag')
const module_silver2coin = require('./modules/silver2coin')
const init = require('./utils/init')
const sleep = require('./utils/sleep')
const app = async () => {
init()
while (true) {
await module_auth()
await module_tasks()
await module_heart()
await module_silver()
await module_group()
await module_capsule()
await module_giftsend()
await module_dailybag()
await module_silver2coin()
await sleep(1000)
}
}
app()