diff --git a/commands/moderation/unban.js b/commands/moderation/unban.js index 4bf3cb9b..d492b32a 100644 --- a/commands/moderation/unban.js +++ b/commands/moderation/unban.js @@ -52,7 +52,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); + await msg.guild.unban(member, reason); msg.say(':ok_hand:'); const embed = new RichEmbed() .setAuthor(msg.author.tag, msg.author.displayAvatarURL) diff --git a/package.json b/package.json index e8c8fae1..ad496ce7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "19.10.3", + "version": "19.10.4", "description": "A Discord Bot", "main": "shardingmanager.js", "scripts": {