Obtenez chaque membre d'un serveur Discord JS
// Get the right server
const guild = bot.guilds.cache.get('GUILD_ID_HERE');
// Fetch and get the list named 'members'
guild.members.fetch().then(members =>
{
// Loop through every members
members.forEach(member =>
{
// Do whatever you want with the current member
});
});
McDown