title: Have a discord bot send many messages with only one command
body: <p>I am making a cultist bot for discord, and I want it to send a message that repeats a message five times when an appropriate command is given <strong>!praise</strong>.</p>
  
  <p>All the other commands run correctly (below I put one such command, <strong>!saviour</strong>, as an example), however, the <strong>!praise</strong> command never gives any output. </p>
  
  <p>I was hoping it would iterate through the loop, sending a message each time, as you would expect from a <code>for</code> loop.</p>
  
  <p>What stops the loop from running and how can I fix it? </p>
  
  <pre><code>bot.on('message', function(user, userID, channelID, message, evt) {
    if (message.substring(0, 1) === '!') {
      let args = message.substring(1).split(' ');
      let cmd = args[0];
  
      args = args.splice(1);
      switch (cmd) {
        case 'saviour':
          bot.sendMessage({
            to: channelID,
            message: 'Our current lord and saviour is named asghjahero'
          });
          break; //the above case works fine
        case 'praise':
          for (let i = 1; i === 5; i++) {
            bot.sendMessage({
              to: channelID,
              message: 'All Hail!'
            });
          }
          break;
      }
    }
  });
  </code></pre>