Ways to get component input from another script?

For my bot to work correctly with what I have going on, I need the "selectedMember" input (from a user select menu) to be read on the script that handles the "interactionCreate" event, how could I solve this?
Code_jQFzoasCSG.jpg
Code_6TnRAfRK2v.jpg
Was this page helpful?