You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
268 B
10 lines
268 B
let bot = require('./bot/bot');
|
|
let { getConfig } = require('./bot/config');
|
|
let engine = require('./bot/engine');
|
|
|
|
let config = getConfig(process.env.NODE_PATH + "/data/config.json", ['accessToken'])
|
|
|
|
engine.create(
|
|
config,
|
|
bot.create(config)
|
|
).init().run();
|