Variables needed
wyr1_votes
with value 0
wyr2_votes
with value 0
Note
This code is only for command handler. You may need to modify it to work in index.js.
It's worth noting that you must have onInteractionCreate
event for the buttons to work.
This will not work on Github version as it's made for 6.7.1 and 6.7.0.
Link to code
https://sourceb.in/rOYtJStbKk