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 UnbanCommand 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 { id, reason } = args;
const bans = await msg.guild.fetchBans();
if (!bans.has(id)) return msg.say('This ID is not in the Guild Banlist.');