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 User•2y ago
Message Not Public
Sign In & Join Server To View
Fractyl
Fractyl•2y ago
my version is 8.19.2
d.js docs
d.js docs•2y ago
Suggestion for @Nico|Undefined:guide Slash Commands: Adding options read more
Fractyl
Fractyl•2y ago
i dont know how to put this into effect
Fractyl
Fractyl•2y ago
Fractyl
Fractyl•2y ago
I`m not sure what to do here
ShompiFlen
ShompiFlen•2y 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
Fractyl•2y ago
How do you make it show you need a prompt to so like : /delete Prompt: I have seen some commands have this
Idris
Idris•2y ago
are you trolling or something?
Fractyl
Fractyl•2y ago
No I got the first part to work
Idris
Idris•2y ago
then do what we said
Fractyl
Fractyl•2y ago
yeah I did and it works But it dont show you need a prompt it's just blank
d.js docs
d.js docs•2y ago
Suggestion for @Nico|Undefined:guide Slash Commands: Required options read more
Idris
Idris•2y ago
I think
ShompiFlen
ShompiFlen•2y 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