Skip to content
This repository was archived by the owner on Jun 8, 2020. It is now read-only.

Commit 81b5dd4

Browse files
authored
Update unban.js
1 parent 9f681a9 commit 81b5dd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/moderation/unban.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
if(!message.guild.me.hasPermission(["BAN_MEMBERS", "ADMINISTRATOR"])) return message.channel.send("I dont have permission to perform this command!")|
2626
message.delete()
2727
try {
28-
message.guild.unban(bannedMember, {reason: reason})
28+
message.guild.unban(bannedMember, reason)
2929
message.channel.send(`${bannedMember.tag} has been unbanned from the guild!`)
3030
} catch(e) {
3131
console.log(e.message)
@@ -44,4 +44,4 @@ module.exports = {
4444
sChannel.send(embed)
4545

4646
}
47-
}
47+
}

0 commit comments

Comments
 (0)