Unable to Show Modal
I'm currently trying to show a basic modal to users after they select an option from a drop down menu. Currently, I seem to be running into an error with this line:
In VS Code, I am seeing that
Below I'm including the snippet of code that seems to be the issue, my console log errors, and my package.json:
return interaction.showModal(modal);, and I'm not really sure how to interpret my console errors beyond "something is wrong with the fields I'm adding to TextInputBuilder." In VS Code, I am seeing that
.setLabel is marked as deprecated, but it also seems to be what the Discord.js documentation indicates I should be using? Any help would be appreciated!Below I'm including the snippet of code that seems to be the issue, my console log errors, and my package.json: