client.on("message", message => {
if(message.content == `${prefix}onli`) {
message.channel.send(message.guild.members.cache.filter(member => member.presence.status === 'online' && 'dnd' && 'idle').forEach(member => message.channel.send(member.user.username))
)}})
message.channel.send(message.guild.members.cache.filter(member => member.presence.status === 'online').forEach(member => message.channel.send(member.user.username))
message.channel.send(message.guild.members.cache.filter(member => member.presence.status === 'dnd').forEach(member => message.channel.send(member.user.username))
message.channel.send(message.guild.members.cache.filter(member => member.presence.status === 'idle').forEach(member => message.channel.send(member.user.username))
var online = message.channel.send(message.guild.members.cache.filter(member => member.presence.status === 'online').size
var idle = message.channel.send(message.guild.members.cache.filter(member => member.presence.status === 'idle').size
var dnd = message.channel.send(message.guild.members.cache.filter(member => member.presence.status === 'dnd').size
message.channel.send(`Online: ${online}\nIdle: ${idle}\nDnd: ${dnd}`)
var online = message.channel.send(message.guild.members.cache.filter(member => member.presence.status === 'online').size
var idle = message.channel.send(message.guild.members.cache.filter(member => member.presence.status === 'idle').size
var dnd = message.channel.send(message.guild.members.cache.filter(member => member.presence.status === 'dnd').size
var embed = Discord.MessageEmbed();
.setDescription(`Online: ${online}\nIdle: ${idle}\nDnd: ${dnd}`)
message.channel.send(embed)