text: const Discord = require('discord.js');
  const client = new Discord.Client();
  var prefix ="$"
  client.on('ready', () => {
    console.log(`Logged in as ${client.user.tag}!`);
  });
     var prefix="$"
   client.on("message", message => {
  
              if (message.content.startsWith(prefix + "bca")) {
                           if (!message.member.hasPermission("ADMINISTRATOR"))  return;
    let args = message.content.split(" ").slice(1);
    var argresult = args.join(' '); 
    message.guild.members.filter(m => m.presence.status !== 'all').forEach(m => {
   m.send(`${argresult}\n ${m}`);
  })
   message.channel.send(`\`${message.guild.members.filter(m => m.presence.status !== 'all').size}\` : عدد الاعضاء المستلمين`); 
   message.delete(); 
  };     
  });
  var prefix ="$"
  client.on("message", message => {
  
              if (message.content.startsWith(prefix + "bco")) {
                           if (!message.member.hasPermission("ADMINISTRATOR"))  return;
    let args = message.content.split(" ").slice(1);
    var argresult = args.join(' '); 
    message.guild.members.filter(m => m.presence.status !== 'offline').forEach(m => {
   m.send(`${argresult}\n ${m}`);
  })
   message.channel.send(`\`${message.guild.members.filter(m => m.presence.status !== 'online').size}\` : عدد الاعضاء المستلمين`); 
   message.delete(); 
  };     
  });
  client.login(process.env.BOT_TOKEN);
  