ierdna100
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
Thanks, I guess
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
Very odd
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
Youre right, I cant reproduce it at all, even in the same project but clean (ran npm init and all that jazz)
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
Should I setup a new JS project to test it?
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
This does not have the same issue, the component can be an object:
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
i.e.:
This works:
This does not:
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
Ive managed to get it working, all it required was that the ModalBuilder's
.addComponents()
takes actionRow.toJSON()
, and not the ActionRow itself, although the type checker does think it is correct35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
Okay I think the definitions for Typescript are bugged
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
Oh my god youve got to be kidding me
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
This is the modal's file
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
Sorry, I went to sleep. I've experimented more and now I get a different fun error when I split the modal creation into multiple parts
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
The modal or the command reply manager?
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
Of?
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
The rest works, replacing the .showModal() with a .reply() successfully responds
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
35 replies
DIAdiscord.js - Imagine an app
•Created by ierdna100 on 1/27/2024 in #djs-questions
ExpectedValidatorError on showModal()
Yes
35 replies