Fix Mod Commands

This commit is contained in:
Daniel Odendahl Jr
2017-06-25 16:18:47 +00:00
parent db7f7ab426
commit 9257c43a1f
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ module.exports = class KickCommand extends Command {
const topic = c.topic || '';
if (topic.includes('<modlog>')) return true;
else return false;
}).first() || member.guild.channels.find('name', 'mod-log');
}).first() || msg.guild.channels.find('name', 'mod-log');
const { member, reason } = args;
if (!member.kickable) return msg.say('This member is not kickable. Perhaps they have a higher role than me?');
await msg.say(`Are you sure you want to kick ${member.user.tag} (${member.id})?`);