Skip to content
Snippets Groups Projects
Commit 1de7201c authored by Levatax's avatar Levatax
Browse files

Update unban.js

parent 59d9dcff
No related branches found
No related tags found
No related merge requests found
......@@ -8,9 +8,7 @@ exports.run = async(client, message, args) => {
let banneduser = bans.find(b => b.user.id == userID)
if(!banneduser) return message.channel.send('Banlar arasında böyle biri bulunamadı')
message.guild.members.unban(banneduser.user)
}).catch(e => {
client.channels.cache.get('790640302452375562').send(`Error on unban command \n${e}`)
});
})}
module.exports.help = {
name: 'unban',
aliases: ['ub']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment