diff options
| author | jtsshieh <27078349+jtsshieh@users.noreply.github.com> | 2020-05-08 19:28:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-08 19:28:40 -0400 |
| commit | c4df904a6b291e0182cb51423ac96edb395c8fc2 (patch) | |
| tree | cdfc5b682628193f767368b87e9552af187d3da1 | |
| parent | 568381749fa6bfb18a55db935647842ddb81f514 (diff) | |
| download | PokeBot-c4df904a6b291e0182cb51423ac96edb395c8fc2.tar.gz PokeBot-c4df904a6b291e0182cb51423ac96edb395c8fc2.tar.bz2 PokeBot-c4df904a6b291e0182cb51423ac96edb395c8fc2.zip | |
Update bot.js
| -rw-r--r-- | bot.js | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,6 +1,6 @@ const Discord = require('discord.js'); const bot = new Discord.Client(); -const config = require('./config.json'); +const config = process.env; const fs = require('fs'); const readline = require('readline'); const DBL = require('dblapi.js'); @@ -29,8 +29,6 @@ bot.plugins = { gyms : require('./plugins/gyms.js')}; -bot.Raven = require('raven'); -bot.Raven.config(config.sentry).install(); bot.gyms = new Discord.Collection(); function cmdLoader() { |
