Catch some stuff

This commit is contained in:
Daniel Odendahl Jr
2017-10-18 13:03:50 +00:00
parent c6ada36364
commit 59e97ed348
8 changed files with 34 additions and 19 deletions
+3 -2
View File
@@ -1,12 +1,13 @@
const { Client } = require('discord.js-commando');
const snekfetch = require('snekfetch');
const { DBOTS_KEY, DBOTSORG_KEY } = process.env;
class CommandoClient extends Client {
constructor(options) {
super(options);
Object.defineProperty(this, 'dBotsToken', { value: options.dBotsToken });
Object.defineProperty(this, 'dBotsOrgToken', { value: options.dBotsOrgToken });
Object.defineProperty(this, 'dBotsToken', { value: DBOTS_KEY });
Object.defineProperty(this, 'dBotsOrgToken', { value: DBOTSORG_KEY });
this.on('guildCreate', () => {
this.dBots();