title: Multiple if/else conditions (discord bot)
body: <p>I'm trying to create a simple discord bot, currently using nodeJS.
  I'm creating specific commands that only specific users can use and whenever someone who does not have permission to use such command can get a reply &quot;You don't have permission&quot;. (I hope you get the idea. sorry for the bad wording).</p>
  <p>This is my current code:</p>
  <pre class="lang-js prettyprint-override"><code>const Discord = require('discord.js');
  const client = new Discord.Client();
  const prefix = '!';
  
  client.once('ready', () =&gt; {
      console.log('Bot is online');
  });
  
  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 === 'ban' &amp;&amp; message.author.id === &quot;123456789&quot;){
      message.channel.send('suspended');
      }
      else{message.channel.send('no permission.')
      ;}
      if(command === 'chat' &amp;&amp; message.author.id === &quot;123456789&quot;){
      message.channel.send('chat-restricted');
      }
      else{message.channel.send('no permission.')
      ;}
      if(command === 'coins' &amp;&amp; message.author.id === &quot;123456789&quot;){
      message.channel.send('balance updated.');
      }
      else{message.channel.send('no permission.')
      ;}
      
      if(command === 'coins 2' &amp;&amp; message.author.id === &quot;123456789&quot;){
      message.channel.send('balance updated.');
      }
      else{message.channel.send('no permission.')
      ;}
  });
  
  </code></pre>
  <p>But what happens is, whenever someone uses a command, the yes or no condition will show 4 times, because there are 4 commands.</p>
  <p>So if a user tried to use the !ban command the output would be</p>
  <pre><code>no permission
  no permission
  no permission
  no permission
  </code></pre>
  <p>I'm pretty sure i messed up something in my if/else conditions but im not sure what it is..
  Help is highly appreciated, i'm sorry for the bad wording of things..</p>