kps
kps
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
it's sad lol. Thanks anyway for your help !
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
i logged it many times and did not catch this mistake
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
So, my handler was good tho
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
I hope it's cuz i'm tired, customId was different
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
I won't say to you cuz i'm embarassed
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
Found the issue
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
I was handling my modals and as i have this error, i thought it was cuz of my handler but no. Even if i just handle it in interactionCreate, does not work
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
Only on UI discord
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
And there's not catching of errors after
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
No description
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
I got the same error I sent
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
Edited. Thanks.
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
No description
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
It's considered as a BaseInteraction even is the statement
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
Seems to not working
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
Added this
(interaction as ModalSubmitInteraction).reply("ok")
(interaction as ModalSubmitInteraction).reply("ok")
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
As there's no reply, if I just log values, it won't respond ?
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
if(interaction.type === InteractionType.ModalSubmit) {
console.log(interaction)
if((interaction as ModalSubmitInteraction).customId === "modal-contact-admin") {
console.log((interaction as ModalSubmitInteraction).fields.getField("modal-input-admin").value)
}
if(interaction.type === InteractionType.ModalSubmit) {
console.log(interaction)
if((interaction as ModalSubmitInteraction).customId === "modal-contact-admin") {
console.log((interaction as ModalSubmitInteraction).fields.getField("modal-input-admin").value)
}
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
You got it, it's on the post
37 replies
DIAdiscord.js - Imagine an app
Created by kps on 8/31/2024 in #djs-questions
Can't send modals ( An error occured )
interactionCreate. I just console log values for the moment.
37 replies