Fetching / Getting the id of a subcommand in a subcommandgroup
So im trying to make a fully dynamic help embed which shows each command with their description. I need the id to make the commands clickable (like this: </commandname:831874384724> ) all the "normal" commands are shown as they should. But 2 commands, those with subcommandgroups are not clickable. So back to the question does anyone know how to fetch the command ids i read through the docs but didnt find anything regarding ids in subcommands.
Node v20.9.0 Discord.js v14.11.0
4 Replies
- 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!
- ✅
Marked as resolved by OPwell yes and no you are able to copy a command id from a subcommand so somewhere have they have to be stored
but where the f are they stored then
wait ill give you some code
doesnt work
well no it works like i said perfectly for those commands with no subcommandgroups
Thanks man