13 lines
316 B
JavaScript
13 lines
316 B
JavaScript
require('module-alias/register')
|
|
const fs = require('fs')
|
|
const path = require('path')
|
|
try {
|
|
fs.accessSync(path.resolve(__dirname, '.env'))
|
|
require('dotenv').config()
|
|
} catch (err) {}
|
|
require('./app')
|
|
require('./background')
|
|
require('./event')
|
|
const twitchChat = require('./libs/twitch-bot')
|
|
twitchChat.runBot()
|