forked from filipedeschamps/video-maker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
30 lines (27 loc) · 752 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
const robots = {
start: require('./robots/start.js'),
input: require('./robots/input.js'),
trends: require('./robots/trends'),
database: require('./robots/database'),
text: require('./robots/text.js'),
state: require('./robots/state.js'),
image: require('./robots/image.js'),
voice: require('./robots/voice'),
video: require('./robots/video.js'),
youtube: require('./robots/youtube.js')
};
async function start() {
await robots.start();
await robots.input();
// await robots.trends();
await robots.text();
await robots.image();
await robots.voice();
await robots.video();
await robots.youtube()
}
(async () => {
console.time()
await start();
console.timeEnd()
})()