.addField("Members",`${message.guild.members.cache.size}\n[${message.guild.members.cache.filter(m=>!client.users.cache.get(m.id).bot).size} Humans | ${message.guild.members.cache.filter(m=>client.users.cache.get(m.id).bot).size} Bots]\n\nOnline: ${message.guild.members.cache.filter(m=>client.users.cache.get(m.id).presence.status==="online").size} | Idle: ${message.guild.members.cache.filter(m=>client.users.cache.get(m.id).presence.status==="idle").size} | Do not Disturb: ${message.guild.members.cache.filter(m=>client.users.cache.get(m.id).presence.status==="dnd").size}`)
.addField("Channels",`${message.guild.channels.cache.size}\n[${message.guild.channels.cache.filter(ch=>ch.type==="text").size} Text | ${message.guild.channels.cache.filter(ch=>ch.type==="voice").size} Voice]`,true)
.addField("Roles",`${message.guild.roles.cache.size} (you have ${message.member.roles.cache.size})\nYour highest is <@&${message.member.roles.highest.id}>`,true)
.addField("Other Info",`Server created roughly **${moment(message.guild.createdAt).fromNow()}**\n\nYou joined ${moment(message.member.joinedAt).fromNow()} (Member for **${Math.round(((now.getTime()-newDate(message.member.joinedAt.getTime()).getTime())/(newDate(message.guild.createdAt).getTime()-now.getTime()))*-100)}%** of server lifetime)`)
.addField("Channels",`${tg.channels.cache.filter(ch=>ch.type!=='GUILD_CATEGORY').size}\n[${tg.channels.cache.filter(ch=>text.includes(ch.type)).size} Text | ${tg.channels.cache.filter(ch=>voice.includes(ch.type)).size} Voice]`,true)
.addField("Roles",`${tg.roles.cache.size} (you have ${message.member.roles.cache.size}) -> ${Math.round((message.member.roles.cache.size/tg.roles.cache.size)*100)}%\nYour highest is <@&${message.member.roles.highest.id}>`,true)
.addField("Members",`${tg.memberCount}\n[${tg.members.cache.filter(m=>!client.users.cache.get(m.id).bot).size} Humans | ${tg.members.cache.filter(m=>client.users.cache.get(m.id).bot).size} Bots]\n\nOnline: ${tg.members.cache.filter(m=>m.presence&&m.presence.status==="online").size} | Idle: ${tg.members.cache.filter(m=>m.presence&&m.presence.status==="idle").size} | Do not Disturb: ${tg.members.cache.filter(m=>m.presence&&m.presence.status==="dnd").size}`)
.addField("Other Info",`Server created **${client.utils.sm(moment.preciseDiff(Date.now(),tg.createdAt,true))}**\nYou joined ${client.utils.sm(moment.preciseDiff(Date.now(),message.member.joinedAt,true))} (Member for **${Math.round(((now.getTime()-message.member.joinedAt.getTime())/(now.getTime()-message.guild.createdAt.getTime()))*100)}%** of server lifetime)`)
infoembed.addField('In Server Since',`${moment(person.joinedAt).fromNow()}${!moment(person.joinedAt).fromNow().includes('days')?` | ${Math.floor((newDate().getTime()-person.joinedAt.getTime())/(60*60*24*1000))} days`:''}\nMember for **${Math.round(((now.getTime()-newDate(message.member.joinedAt.getTime()).getTime())/(newDate(message.guild.createdAt).getTime()-now.getTime()))*-100)}%** of server lifetime`,false)
infoembed.addField('In Server Since',`${client.utils.sm(moment.preciseDiff(Date.now(),person.joinedAt,true))}${!moment(person.joinedAt).fromNow().includes('days')?` | ${Math.floor((newDate().getTime()-person.joinedAt.getTime())/(60*60*24*1000))} days`:''}\nMember for **${Math.round(((now.getTime()-person.joinedAt.getTime())/(now.getTime()-message.guild.createdAt.getTime()))*100)}%** of server lifetime`,false)
if(message.guild.ownerId===person.id){infoembed.addField("Extra","User is the server's owner!");}
elseif(person.permissions.has("ADMINISTRATOR")){infoembed.addField("Extra","User is an admin! Watch out :eyes:");}
@ -40,6 +47,10 @@ module.exports = {
if(tu.donator||tu.developer){infoembed.addField('Donator?',tu.developer?`Well, ${name} makes me work, so they're a supporter in my book!`:tu.donator?'Yes! They have donated or supported me in the past!':'No',true);}
if(tu.staff){infoembed.addField('Natsuki Staff Level',tu.developer?'Developer':tu.admin?'Admin; Audit access to the bot':tu.staff?'Staff; Support but with maintenance permissions':tu.support?'Support; Answers tickets and help queries':'Member; Does not have a staff rank.',true);}