From 680005c4576e89328b534d04e767d42ac838ed92 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 27 Apr 2017 13:13:13 +0000 Subject: [PATCH] Test --- commands/util/memberchannel.js | 1 + providers/Sequelize.js | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/commands/util/memberchannel.js b/commands/util/memberchannel.js index 02947a60..09052729 100644 --- a/commands/util/memberchannel.js +++ b/commands/util/memberchannel.js @@ -22,6 +22,7 @@ module.exports = class MemberLogCommand extends Command { run(message, args) { const { channel } = args; + console.log(channel); message.guild.settings.set('memberLog', channel.name); console.log(channel); console.log(message.guild.settings.get('memberLog')); diff --git a/providers/Sequelize.js b/providers/Sequelize.js index 11e15a47..c3ecb675 100644 --- a/providers/Sequelize.js +++ b/providers/Sequelize.js @@ -174,10 +174,7 @@ class SequelizeProvider extends SettingProvider { } // Load all command/group statuses - for (const command of this.client.registry.commands.values()) { - console.log(command); - this.setupGuildCommand(guild, command, settings); - } + for (const command of this.client.registry.commands.values()) this.setupGuildCommand(guild, command, settings); for (const group of this.client.registry.groups.values()) this.setupGuildGroup(guild, group, settings); }