Skip to content
Snippets Groups Projects
Commit 6a5976b0 authored by Reviath's avatar Reviath
Browse files

Update unban.js

parent e154a260
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,7 @@ exports.run = async(connection, message, args) => { ...@@ -9,6 +9,7 @@ exports.run = async(connection, message, args) => {
if(!banneduser) return message.channel.send('I Can\'t find that user') if(!banneduser) return message.channel.send('I Can\'t find that user')
message.guild.members.unban(banneduser.user) message.guild.members.unban(banneduser.user)
}) })
message.channel.send(`Unbanned <@${banneduser.user.id}>`)
} }
module.exports.help = { module.exports.help = {
name: 'unban', name: 'unban',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment