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
chillihero2y ago
you absolutely can
tk ⚝
tk ⚝OP2y ago
How?
chillihero
chillihero2y ago
/uwu once
tk ⚝
tk ⚝OP2y ago
What's the syntax
chillihero
chillihero2y ago
copy the id of the subcommand not of the command </uwu once:1086321850075844726>
tk ⚝
tk ⚝OP2y ago
Oh Subcommands have IDs? I thought they were considered as options
chillihero
chillihero2y ago
you copy them the same way you copy a command
tk ⚝
tk ⚝OP2y ago
I'm using client.application.commands.cache
chillihero
chillihero2y ago
tk ⚝
tk ⚝OP2y ago
Is there a way to retrieve it in code
chillihero
chillihero2y ago
bet, but never touched this
tk ⚝
tk ⚝OP2y 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
Favna2y ago
they dont
tk ⚝
tk ⚝OP2y ago
It's the same ID as the base command but the mention includes the subcommand in the name Thanks
Solution
tk ⚝
tk ⚝2y ago
</[base name] [subcommand name]:[base id]>
Want results from more Discord servers?
Add your server