discord.js wait seconds
snippet in javascript

discord.js wait seconds

user6155

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