discord.js timeout before sending message code example Example: discord.js wait seconds setTimeout(function(){ //Code }, 5000); //time in milliseconds