mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-08 07:11:49 +02:00
Test
This commit is contained in:
@@ -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'));
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user