title: Make command repeat Discord.js
body: <p>I have this discord.js code that when i run &quot;!cat&quot; it sends a random image from r/cats here is the code:</p>
  <pre><code>var Discord = require('discord.js');
  var bot = new Discord.Client()
  randomPuppy = require('random-puppy') 
  
  bot.on('ready', function() {
      console.log(bot.user.username);
  });
  
  bot.on('message', async message =&gt; {
      if (message.content === &quot;!cat&quot;) { 
              const img = await randomPuppy('cats')
              message.channel.send(img);
           
      }
  });
  </code></pre>
  <p>I want it to send this every 20 mins instead of when a user uses the command. I have found a few ways but they do not work in an aysync. Thanks in advance!</p>