discord.js wait seconds

JavaScript
setTimeout(function(){ 
    //Code
 }, 5000); //time in milliseconds
Source

Also in JavaScript: