diff --git a/commands/moderation/unban.js b/commands/moderation/unban.js index 0ba5a259..b0fb11c8 100644 --- a/commands/moderation/unban.js +++ b/commands/moderation/unban.js @@ -51,7 +51,7 @@ module.exports = class UnbanCommand extends Command { if (!bans.has(id)) return msg.say('This ID is not in the Guild Banlist.'); const member = bans.get(id); try { - await msg.guild.unban(member, reason); + await msg.guild.unban(member.id, reason); msg.say(':ok_hand:'); const embed = new RichEmbed() .setAuthor(msg.author.tag, msg.author.displayAvatarURL)