Sorry, English is not my native language, and I'm new to JS. I'm making my bot discord, I need it to send random messages in the chat in a period of time, this part I've got the code below. however I also need the bot to mention the last user to have sent a message in the chat and I have no idea how to add this to my code
async function notifLoop(){
  while(true){
    client.channels.cache.get('764266751734054953').send("test text");
    await Sleep(10000)
  }
}
function Sleep(milliseconds) {
    return new Promise(resolve => setTimeout(resolve, milliseconds));
}
client.on('ready', function(){
    notifLoop();
    console.log("Ready");
});
 
     
    