let Ecolor = client.embedColor;
const user = message.mentions.members.first() || message.guild.members.cache.get(args[0]);
let rea = `${message.member.user.username} ( ${message.member.id} )`
const emd7 = new EmbedBuilder()
.setColor(client.embedColor)
.setAuthor({name: `Invalid Process:`, iconURL: message.member.displayAvatarURL()})
if(!user) return message.reply({embeds: [emd7.setDescription(`You forgot to mention the member who to ban.`)]});
if(user ===undefined) return message.reply({embeds: [emd7.setDescription(`Something suspicious, member not found.`)]});
if(user.id === client.user.id) return message.reply({embeds: [emd7.setDescription(`UwU, don't ban me. I'll be more good.`)]});
if(user.id === message.author.id) return message.reply({embeds: [emd7.setDescription(`You can't ban yourself.`)]});
if(user.id === message.guild.ownerId) return message.reply({embeds: [emd7.setDescription(`I can't ban the server owner, but the server owner can ban you.`)]});
if(!user.bannable){
return message.reply({embeds: [emd7.setDescription(`Check my roles, is it at the top? I can't ban that member.`)]});
}
let Ecolor = client.embedColor;
const user = message.mentions.members.first() || message.guild.members.cache.get(args[0]);
let rea = `${message.member.user.username} ( ${message.member.id} )`
const emd7 = new EmbedBuilder()
.setColor(client.embedColor)
.setAuthor({name: `Invalid Process:`, iconURL: message.member.displayAvatarURL()})
if(!user) return message.reply({embeds: [emd7.setDescription(`You forgot to mention the member who to ban.`)]});
if(user ===undefined) return message.reply({embeds: [emd7.setDescription(`Something suspicious, member not found.`)]});
if(user.id === client.user.id) return message.reply({embeds: [emd7.setDescription(`UwU, don't ban me. I'll be more good.`)]});
if(user.id === message.author.id) return message.reply({embeds: [emd7.setDescription(`You can't ban yourself.`)]});
if(user.id === message.guild.ownerId) return message.reply({embeds: [emd7.setDescription(`I can't ban the server owner, but the server owner can ban you.`)]});
if(!user.bannable){
return message.reply({embeds: [emd7.setDescription(`Check my roles, is it at the top? I can't ban that member.`)]});
}