I'm making some security stuff and i need blackist for user that was destroying my server and left so i cant ban them.
Here is code:
    var id_blacklist = ["some","user","id-s"]
    })
    setInterval(function(){ 
        checkUsers() 
    }, 5000);
    
    function checkUsers(){
  //here check if there is a user id that is on blacklist
}
 
EDIT: I mean to check users every 5 secconds. Because memberGuildAdd not working for no reason in my bot