Mentioning application subcommands

Follow up from this: https://discord.com/channels/737141877803057244/1086724151429042246 Is there a way to mention subcommands too? I noticed that base subcommands cannot be mentioned, i.e. in a subcommand /a b you cannot mention using </a:id>.
Discord
Discord - A New Way to Chat with Friends & Communities
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
Solution:
</[base name] [subcommand name]:[base id]>
Jump to solution
15 Replies
chillihero
chillihero15mo ago
you absolutely can
thad ☁
thad ☁15mo ago
How?
chillihero
chillihero15mo ago
/uwu once
thad ☁
thad ☁15mo ago
What's the syntax
chillihero
chillihero15mo ago
copy the id of the subcommand not of the command </uwu once:1086321850075844726>
thad ☁
thad ☁15mo ago
Oh Subcommands have IDs? I thought they were considered as options
chillihero
chillihero15mo ago
you copy them the same way you copy a command
thad ☁
thad ☁15mo ago
I'm using client.application.commands.cache
chillihero
chillihero15mo ago
thad ☁
thad ☁15mo ago
Is there a way to retrieve it in code
chillihero
chillihero15mo ago
bet, but never touched this
thad ☁
thad ☁15mo ago
For command objects there's an ID involved, but in their options (specifically subcommand options) there isn't an ID Oh nevermind Figured it out Subcommands in fact do not have individual IDs
Favna
Favna15mo ago
they dont
thad ☁
thad ☁15mo ago
It's the same ID as the base command but the mention includes the subcommand in the name Thanks
Solution
thad ☁
thad ☁15mo ago
</[base name] [subcommand name]:[base id]>