title: SyntaxError: Unexpected Token ':'
body: <p>So it's my first ever time coding and i'm creating a discord bot. It's all been going fine until I try to run the bot.js file on commmand line (using "node bot.js")
  But It just comes up with a bunch of errors.</p>
  
  <p>My Code: </p>
  
  <pre><code>const Discord = require('discord.js');
  const client = new Discord.Client();
  const auth = require('./auth.json');
  
  client.on('ready', () =&gt; {
      console.log(`Logged in as ${client.user.tag}!`)
  });
  
  client.login(auth.token);
  
  client.on('message', msg =&gt; {
      if (msg.content === 'ping') {
          msg.reply('pong');
      }
  });
  </code></pre>