From c109c2a6866af94a3eee38ffe2bf654fec484852 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 28 May 2020 16:33:37 -0400 Subject: Update bot.js --- bot.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot.js b/bot.js index bc2e3fb..49a7121 100644 --- a/bot.js +++ b/bot.js @@ -1,6 +1,6 @@ const Discord = require('discord.js'); const bot = new Discord.Client(); -const config = process.env; +const config = require('./config.json'); const fs = require('fs'); const readline = require('readline'); const DBL = require('dblapi.js'); @@ -28,7 +28,8 @@ bot.plugins = { whitelist: require('./plugins/whitelist.js'), gyms : require('./plugins/gyms.js')}; - +bot.Raven = require('raven'); +bot.Raven.config(config.sentry).install(); bot.gyms = new Discord.Collection(); function cmdLoader() { -- cgit v1.2.3