Skip to content

Commit

Permalink
Update index.js to reflect previous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eritbh committed Nov 20, 2017
1 parent 5ca0a93 commit 1e0a1cf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
const Yuuko = require('./src/Yuuko')

const path = require('path')
let config = require('./config')
config.commandDir = require('path').join(__dirname, config.commandDir)
console.log(config)

const c = new Yuuko(config)

c.connect()
c.addCommandDir(path.join(__dirname, 'commands')).connect()

0 comments on commit 1e0a1cf

Please sign in to comment.