mtfosbot/index.js

9 lines
196 B
JavaScript
Raw Normal View History

2018-06-25 10:07:10 +00:00
const fs = require('fs')
const path = require('path')
try {
fs.accessSync(path.resolve(__dirname, '.env'))
require('dotenv').config()
} catch (err) {}
require('./app')
require('./background')