Hello everyone I have a problem with embed messages in discord js.
I have a variable which is storing text “.addField(“text”, “text”, false)” and I want to use this stored text in the embed message
Example
var fields = ".addField("text", "text", false).addField("text", "text", false);
const embedmessage = new Discord.MessageEmbed()
.setTitle("title")
.setDescription("description")
.setColor("#f2320c")
and I want to add this variable named fields to the end of this embed message. How can i do it?
Sorry for my english but I hope it isn’t a problem ;/