Validate Slash command text

Is there a way to go about validating slash command text? For instance I have a slash command that takes a name and a url in seperate choices, I want to check if the name they typed in already exists and preventing them from hitting enter/submiting if so. Can this be done? if so how?
3 Replies
d.js toolkit
d.js toolkit2mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
ThatGuy553
ThatGuy5532mo ago
Node is v20.13.0 and discord.js is 14.13.0
darp
darp2mo ago
no