Unban Reasons

This commit is contained in:
Daniel Odendahl Jr
2017-05-21 13:36:43 +00:00
parent 09040f1aab
commit 409d990dd4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "19.10.3",
"version": "19.10.4",
"description": "A Discord Bot",
"main": "shardingmanager.js",
"scripts": {