'use strict';

var FilmBot = require('../lib/filmbot');
var fs = require('fs');
var path = require('path');

var infoFile = fs.readFileSync('data/keys.info');
var infoJSON = JSON.parse(infoFile);

var token = infoJSON.slackKey;

console.log(path.resolve(process.cwd(), 'data', 'filmbot.db'));

var filmbot = new FilmBot({
    token: token
});

filmbot.run();
