-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js.bak
33 lines (24 loc) · 898 Bytes
/
index.js.bak
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
//get twitch token on start
//update commands on every server on every start
//seperate twitch/tiktok and stuff
//only admins adding stuff
//picture in twitch footer
//put all variables in config file
//Delete not wanted console logs
//add wanted console logs fe when streamer goes live
//handle no internet with axios
const EventEmitter = require('events');
const eE = new EventEmitter();
async function startup() {
const discord = require('./discord.js');
discordClient = await discord.setupDiscord();
const twitch = require('./twitch.js');
//await twitch.setupTwitch(discordClient);
const youtube = require('./youtube.js');
await youtube.setupYoutube(discordClient, eE);
const callback = require('./callback.js');
callback.setupCallback(eE);
//const tiktok = require('./tiktok.js');
//await tiktok.setupTiktok(discordClient);
}
startup()