title: How to reply to every message sent in a channel
body: <p>I'm trying to create a discord bot that will respond to all messages sent in <code>#feedback</code> with<br>
  <em>'Thanks for your feedback, USERNAME! It has been sent to the admins.'</em></p>
  
  <p>This is my code so far:</p>
  
  <pre class="lang-js prettyprint-override"><code>const Discord = require('discord.js');
  const client = new Discord.Client();
  const settings = require('./settings.json');
  
  client.on('ready',() =&gt; {
      console.log('FBB Online!');
  });
  
  client.on('message', msg =&gt; {
      if (msg.channel != '#feedback') return;
      if (msg.author === client.user) return;
      client.channels.get('488795234705080320').send('Thanks for your feedback, '+msg.sender+'! It has been sent to the admins.');
  });
  
  client.login(settings.token);
  </code></pre>
  
  <p>However, when testing the bot, It doesn't respond to messages in any channel. Why is this and how can I fix this?</p>