📌  相关文章
📜  TypeError:client.guilds.forEach 不是函数 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:22.880000             🧑  作者: Mango

代码示例1
// This is for Discord Bots
// Version 12 Syntax is different than the v11

client.guilds.cache.forEach((guild) => {
    console.log(guild.name);
});