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
271 B
10 lines
271 B
let bot = require('./dist/bot');
|
|
let { getConfig } = require('./dist/config');
|
|
let engine = require('./dist/engine');
|
|
|
|
let config = getConfig(process.env.NODE_PATH + "/data/config.json", ['accessToken'])
|
|
|
|
engine.create(
|
|
config,
|
|
bot.create(config)
|
|
).init().run();
|