Answers for "get all members in all guild where bot is discord.js"

1

discord.js how to get all guilds

client.on("ready", () => {
    const Guilds = client.guilds.cache.map(guild => guild.id);
    console.log(Guilds);
});
Posted by: Guest on March-15-2021

Code answers related to "get all members in all guild where bot is discord.js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language