title: Is it possible to disable people pinging @everyone and @here using "say" command on discord bot?
body: <p>I've tried a few methods to stop people from pinging everyone but what i want is something where if the message has &quot;@everyone&quot; or &quot;@here&quot; i can make the bot reply a few different ways</p>
  <p>here is my current code</p>
  <pre><code>const Discord = require ('discord.js');
  
  const { FILE } = require('dns');
  
  const client = new Discord.Client();
  
  const prefix = &quot;.&quot;;
  
  const fs = require('fs');
  
  client.commands = new Discord.Collection();
  
  const commandFiles = fs.readdirSync('./commands/').filter(file =&gt; file.endsWith('.js'));
  for(const file of commandFiles){
      const command = require(`./commands/${file}`);
  
      client.commands.set(command.name, command);
  }
  
  client.once('ready', () =&gt; {
      console.log('IM ONLINE GUYS!!!');
  });
  
  client.on('message', message =&gt;{
      if(!message.content.startsWith(prefix) || message.author.bot) return;
  
      const args = message.content.slice(prefix.length).split(/ +/)
      const command = args.shift().toLowerCase();
  
      if(command === 'ping'){
          client.commands.get('ping').execute(message, args);
      } else if (command == 'pong'){
          client.commands.get('pong').execute(message, args);
      } else if (command == 'help'){
          client.commands.get('help').execute(message, args, Discord);
      } else if (command == 'kill'){
          client.commands.get('kill').execute(message, args);
      } else if (command == 'quote'){
          client.commands.get('quote').execute(message, args);
      } else if (command == 'kiss'){
          client.commands.get('kiss').execute(message, args);
      } else if (command == 'hug'){
          client.commands.get('hug').execute(message, args);
      } else if (command == 'pet'){
          client.commands.get('pet').execute(message, args);   
      } else if (command === 'say'){
     const sayMessage = message.content.split(' ').slice(1).join(' ');
  
     message.channel.send(sayMessage);
  } else if (command === 'music-h'){
      client.commands.get('music-h').execute(message, args, Discord)
  }
  })
  
  client.login('token')
  </code></pre>
  <p>and i am refering to the</p>
  <pre><code>} else if (command === 'say'){
     const sayMessage = message.content.split(' ').slice(1).join(' ');
  
     message.channel.send(sayMessage);
  </code></pre>
  <p>part</p>
  <p>Im going to explain it better here: I am trying to make the bot respond with something else when someone pings @everyone or @here in their &quot;.say&quot; message</p>
  <p>example:</p>
  <p>&quot;.say @everyone&quot;</p>
  <p>&quot;Nice try bub, its not gonna work with me&quot;</p>
  <p>and maybe a couple other responses along with that.</p>