does any one know how to get discord to display your bots command for auto complete

hello I just finished coding my bot and i want to make it so that when you type the commands can be auto filled with tab
12 Replies
d.js toolkit
d.js toolkit11mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Auto909
Auto90911mo ago
Auto909
Auto90911mo ago
my discord.js is 14.11.0 and my node -v is v18.16.1
axiprime
axiprime11mo ago
this way ? /consent </consent:980880200566964264>
treble/luna
treble/luna11mo ago
those are slash commands, thats one of their advantages If you use regular message commands, there's no way to do this
Auto909
Auto90911mo ago
im not sure what you mean by that but when you go to type /consent by the time you get to /con you can hit tab and it will auto fill it for you in the picture you can also click on the bots image and it will show you all of there commands
treble/luna
treble/luna11mo ago
well, how do you handle your commands With messageCreate?
Auto909
Auto90911mo ago
i apologize i am new to this but i believe mine are slash commands as an example one of my commands is /add (what you want to add) yes my commands are messageCreate
treble/luna
treble/luna11mo ago
that aren't slash commands then just regular prefix commands
d.js docs
d.js docs11mo ago
guide Home: What's new read more
treble/luna
treble/luna11mo ago
the guide shows how to use slash commands
Auto909
Auto90911mo ago
ok thank you