Modal Validation String Primitive

I'm receiving an error when trying to display my modal. I've tried following the docs but may be missing something. I tried using this answer because it looks like the exact same issue but my modal does have a title. https://discord.com/channels/737141877803057244/1122637599933223002/1122759262716842006 Error: https://pastebin.com/vF6YKkMv Code: https://pastebin.com/GR0HnK44 Appreciate the help!
Pastebin
Error - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
code - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
5 Replies
Lioness100
Lioness100•15mo ago
The text input needs a label
Favna
Favna•15mo ago
FFS lioness I was typing pepeCry
Lioness100
Lioness100•15mo ago
😭😭 type faster next time loser
Favna
Favna•15mo ago
Going to answer this in a way to teach how to analyze an error like this in case you run into the same later Error line 10: the error is in the TextInputBuilder So go to the docs of TextInputBuilder and check the methods as to which aren't optional https://discord.js.org/docs/packages/builders/main/TextInputBuilder:Class This reveals that setLabel is not optional
builders | TextInputBuilder
A builder that creates API-compatible JSON data for text inputs.
WhacK
WhacKOP•15mo ago
I really should have caught that, sorry to waste your time!
Want results from more Discord servers?
Add your server