Answers for "discordjs get all guilds"

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 "Javascript"

Browse Popular Code Answers by Language