I want to make a vote with an embed message.
When someone adds a reaction, I want to add a like and to show the number of likes in the embed. Here an example:
Whenever someone clicks on like, all my code lines work and I finally change the Field value linked to like just like that :
messageReaction.message.embeds[0].fields[0] = "Some much like";
But the embed message doesn't update.
I've tried to update the message with this:
function doAfakeEdit(message){
message.edit(message.content);
}
It still keeps the old value of the field.
What should I do?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…