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); }