Thats' my "final" code that doesn't work at all and showing me
TypeError: list.members is not iterable.
Can anybody help me with this problem?
const list = bot.guilds.cache.get(guild_id);
for(member of list.members){
console.log(member.user.username);
}
Where bot is a Discord.Client()