My bot is in 20+ servers and I want to be able to show users the servers my bot is in. I was able to do this on my own but i want the list of servers in one embed and if it passes the embed character limit a page 2 of the embed.
Code:
if (message.content === 'zservers'){
bot.guilds.cache.forEach((guild) => {
const serverlist = new Discord.MessageEmbed()
.setTitle(` .`)
.addField(guild)
.setFooter(`Invite lovell <$`)
message.channel.send(serverlist)
})
}
Result:
I want to be able to list all servers in a single embed!