This commit is contained in:
Daniel Odendahl Jr
2017-04-30 22:56:59 +00:00
parent 83e990ae1c
commit 877f720cfc
105 changed files with 460 additions and 461 deletions
+3 -3
View File
@@ -20,9 +20,9 @@ module.exports = class ModChannelCommand extends Command {
return msg.member.permissions.has('ADMINISTRATOR');
}
run(message, args) {
run(msg, args) {
const { channel } = args;
message.guild.settings.set('modLog', channel.name);
return message.say(`Mod Log channel set to ${channel.name}.`);
msg.guild.settings.set('modLog', channel.name);
return msg.say(`Mod Log channel set to ${channel.name}.`);
}
};