Build each user a unique sets of buttons
This is the link.
https://discordjs.guide/message-components/buttons.html#building-buttons
I am just wondering how I can build a unique sets of buttons for each user. For instance, if a user type in a slash command such as /option, then a set of buttons like the above link shows will pop up. But those buttons belong uniquely to the user who triggers it and not to be shared. Cuz I built one like that before, but if one user uses it, it is fine, but if two or more users use it, then the variable that is set by the first user after clicking the button to set the value and put that into a variable will be overridden by the second user. In other word, a set of buttons are shared among users and it does not matter who triggers it.
https://discordjs.guide/message-components/buttons.html#building-buttons
I am just wondering how I can build a unique sets of buttons for each user. For instance, if a user type in a slash command such as /option, then a set of buttons like the above link shows will pop up. But those buttons belong uniquely to the user who triggers it and not to be shared. Cuz I built one like that before, but if one user uses it, it is fine, but if two or more users use it, then the variable that is set by the first user after clicking the button to set the value and put that into a variable will be overridden by the second user. In other word, a set of buttons are shared among users and it does not matter who triggers it.



