From 9694e993bf7cdd549ead23d0dafa8e6ca9d86067 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 16 Aug 2017 17:49:36 +0000 Subject: [PATCH] TRUE FIXE --- commands/moderation/unban.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/moderation/unban.js b/commands/moderation/unban.js index 2c1bd31d..de39ec25 100644 --- a/commands/moderation/unban.js +++ b/commands/moderation/unban.js @@ -46,7 +46,7 @@ module.exports = class UnbanCommand extends Command { }); if (!msgs.size || !['y', 'yes'].includes(msgs.first().content.toLowerCase())) return msg.say('Aborting.'); await msg.guild.unban(member, `${msg.author.tag}: ${reason}`); - await msg.say(`Successfully unbanned ${member.user.tag}.`); + await msg.say(`Successfully unbanned ${member.tag}.`); if (!modlogs || !modlogs.permissionsFor(this.client.user).has('SEND_MESSAGES')) { return msg.say('Could not log the unban to the mod logs.'); } else if (modlogs.permissionsFor(this.client.user).has('EMBED_LINKS')) { @@ -62,7 +62,7 @@ module.exports = class UnbanCommand extends Command { return modlogs.send({ embed }); } else { return modlogs.send(stripIndents` - **Member:** ${member.user.tag} (${member.id}) + **Member:** ${member.tag} (${member.id}) **Action:** Unban **Reason:** ${reason} **Moderator:** ${msg.author.tag}