Discord.js Как получить все гильдии
client.on("ready", () => {
const Guilds = client.guilds.cache.map(guild => guild.id);
console.log(Guilds);
});
client.on("ready", () => {
const Guilds = client.guilds.cache.map(guild => guild.id);
console.log(Guilds);
});