diff options
| author | Trey-Server <trey6979@gmail.com> | 2018-03-19 00:10:51 +0000 |
|---|---|---|
| committer | Trey-Server <trey6979@gmail.com> | 2018-03-19 00:10:51 +0000 |
| commit | 62172685f32f8d4262d15528eaae8a8af2d85d24 (patch) | |
| tree | bab4216bf721502ee74882b288d1655f180b4acb /bot.js | |
| parent | 3f196569f0b2f2bab12728574398177f8665a3ec (diff) | |
| parent | c0bbf4e2183735bc7eb65a255eccc09f127a160d (diff) | |
| download | PokeBot-62172685f32f8d4262d15528eaae8a8af2d85d24.tar.gz PokeBot-62172685f32f8d4262d15528eaae8a8af2d85d24.tar.bz2 PokeBot-62172685f32f8d4262d15528eaae8a8af2d85d24.zip | |
Merge branch 'master' of https://github.com/PokeWorld/PokeBot
Diffstat (limited to 'bot.js')
| -rw-r--r-- | bot.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ bot.queue = new Discord.Collection(); bot.plugins = { music : require('./Plugins/Music.js') , economy : require('./Plugins/Economy.js'), settings : require('./Plugins/settings.js')}; cmdLoader(); +const Raven = require('raven'); +Raven.config(config.sentry).install(); + async function cmdLoader() { const categories = await fs.readdirSync('./commands'); console.log(`Loading ${categories.length} categories(s) into memory\n`); |
