discordjs-youtube-tutorials
discordjs-youtube-tutorials copied to clipboard
Hey was wondering something
This isnt an actual issue, I was wondering how you would make a poll command where when someone reacts to it, it gets the reactions, then checks if checkmark or x is bigger, if checkmark is begger it edits the embed green, but how do I save the embed so I can use it later and edit it?
You should use an database. You can MongoDB or a simple sqlite file (e.g. package keyv) then add the message id and find that id in the database, then fetch the message and edit the embed.