ModalSubmit error
Hey there! I'm trying to get my modals working one for eval and one for newchangelog, the eval one works as intended but the newchangelog one doesn't, when I enter the message for the changelog, it says something went wrong, try again. I checked console to have an error saying "TypeError: Cannot read properties of undefined (reading 'getString')" I'm trying to get the string from the command itself into interactionCreate.js, it is possible?
3 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Here's my code that I manage the newchangelog.js command with
Nope, interaction here is the modal, not the slash command
You might be better off using awaitModalSubmit in the slash commands scope of execution