Room.findAll() can only return a few rooms, not all of them which displayed on my phone
Created by: zhaoPengInGithub
I've tried many times,including setTimeout for 6000ms,still not working, is there something wrong with what I did?
function onLogin (user) {
console.log(`${user} login`);
setTimeout(async function(){
const roomList =await bot.Room.findAll();
console.log(roomList);
},6000);
}