Need help with slash CMDS

So I was just wondering how you add a prompt the commands so for example/ sayprompt: Any one who has any pointers let me know thanks!
15 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Fractyl
FractylOP2y ago
my version is 8.19.2
d.js docs
d.js docs2y ago
Suggestion for @Nico|Undefined:guide Slash Commands: Adding options read more
Fractyl
FractylOP2y ago
i dont know how to put this into effect
Fractyl
FractylOP2y ago
Fractyl
FractylOP2y ago
I`m not sure what to do here
ShompiFlen
ShompiFlen2y ago
take a look at the guide idris shared, to add options to your slash. then you have to implement your own logic to do something with it to get the options out of a slash command interaction you have to access it through interaction.options.getString('prompt') for example
Fractyl
FractylOP2y ago
How do you make it show you need a prompt to so like : /delete Prompt: I have seen some commands have this
Idris
Idris2y ago
are you trolling or something?
Fractyl
FractylOP2y ago
No I got the first part to work
Idris
Idris2y ago
then do what we said
Fractyl
FractylOP2y ago
yeah I did and it works But it dont show you need a prompt it's just blank
d.js docs
d.js docs2y ago
Suggestion for @Nico|Undefined:guide Slash Commands: Required options read more
Idris
Idris2y ago
I think
ShompiFlen
ShompiFlen2y ago
make sure you redeployed the commands to update them and also restart your client just in case its not refreshing them locally
Want results from more Discord servers?
Add your server