This commit is contained in:
Daniel Odendahl Jr
2017-05-28 13:04:16 +00:00
parent 644ea1270b
commit 1026292471
+1 -1
View File
@@ -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)