`<:error:466995152976871434> I can't softban people who are higher ranked than you myself!`
);
};
if(!user.bannable){
returnmessage.channel.send(`<:error:466995152976871434> Specified user is not bannable.`)
};
vardays=args[args.length-1]
try{
days=Number(days);
}catch(err){};
console.log(typeofdays)
console.log(days)
if(isNaN(days)){
returnmessage.channel.send(`<:error:466995152976871434> Invalid number. Did you forget to specify how many days worth of messages to clear? Usage: \`${client.commands.get(`softban`).help.usage}\``)
}elseif(days<1||days>7){
returnmessage.channel.send(`<:error:466995152976871434> Number too large/small. The max amount of days I can clear is 7.`)
}else{
awaitmessage.guild.members.ban(user,{reason:`Softbanned by ${message.author.tag}`,days:days});