title: How to make discord bot post in a specific channel?
body: <p>So I am attempting to make a Discord bot post a message in a specific channel on a server, because it only posts to #everyone. I have looked at many other posts and can;t seem to get it. I am a complete moron at javascript and only know the very basic basics. The goal is when a user says "test" in a channel then the bot will output "Test" into a specific channel meant for logging certain responses. (This will become a offense log for when a user says something they aren't supposed to). This is what my code looks like so far:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>client.on('message', msg =&gt; {
    if (msg.content === 'test') {
      client.channels.get("546117125702680596");
      channel.send('Test');
    }
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>Am I doing something wrong?</p>