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