Discord bot button problem.

Hey guys I am trying to code a disocrd bot with slash-command that allow memebr to submit a screenshot which later on I Will accept it or reject it. In case I accept mysql operation will upload the photo to the db

ALL IS GOOD
the problem is As you can see from the attached image from terminal once I submit 2 request (2 screenshot.) if I click to any button Accept or reject -> it will accept all of them at the same time or reject!!

my goal is to accept or reject each one individually.. any help??

code
https://sourceb.in/oYaAGJ7eyY
image.png
Was this page helpful?