📜  discord.js 如何获取所有公会 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:02:32.635000             🧑  作者: Mango
代码示例1
client.on("ready", () => {
const Guilds = client.guilds.cache.map(guild => guild.id);
console.log(Guilds);
});