This commit is contained in:
Daniel Odendahl Jr
2017-04-27 13:13:13 +00:00
parent 20a40a0a7a
commit 680005c457
2 changed files with 2 additions and 4 deletions
+1
View File
@@ -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'));
+1 -4
View File
@@ -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);
}