async function profile(contact, message, fs, groupAdmins, client) {
try {
	     var ban = JSON.parse(fs.readFileSync('./lib/banned.json'))
             var person = await sclient.getContact(contact)
             var sts = await sclient.getStatus(contact)
             var block = ban.includes(contact)
             var pfp = await sclient.getProfilePicFromServer(contact)
             var adm = groupAdmins.includes(contact)
             if (pfp === undefined) {
		var pic = 'https://steamuserimages-a.akamaihd.net/ugc/954087817129084207/5B7E46EE484181A676C02DFCAD48ECB1C74BC423/?imw=512&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false'
             } else {
                var pic = pfp
             } 
	     const role = 'none'
	     await client.sendFileFromUrl(message.from, pic, 'pfp.jpg', `ğŸ”–ï¸� *Username: ${person.pushname}*

ğŸ’Œï¸� *Motto: ${sts.status}*

ğŸ’šï¸� *Role: ${role}*

ğŸ‘‘ï¸� *Admin: ${adm}*`)

} catch(err) {
console.log(err)
await client.reply(message.from, 'An error occured', message.id)

}
}

module.exports = { profile }
