title: I am trying to make a Discord bot that boosts your server every two hours
body: <p>So what I am trying to do is when the bot is added into your Discord server the bot says "!d bump" exactly every two hours? This is what I have so far</p>
  
  <pre><code>const Discord = require('discord.js');
   const client = new Discord.Client();
  
  client.on('ready', () =&gt; {
   console.log(`Logged in as ${client.user.tag}!`);
   });
  
  client.on('message', msg =&gt; {
   if (msg.content === 'ping') {
   msg.reply('pong');
   }
   });
  
   client.on('message', msg =&gt; {
    if (msg.content === '*invite') {
    msg.reply('invite');
    }
    });
  
  
  
  client.login('token');
  </code></pre>
  
  <p>EDIT: Also, I am not userbotting and this is a problem because I can't get the bot to only say the phrase and not pinging someone</p>