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.
15 Replies
you absolutely can
How?
/uwu once
What's the syntax
copy the id of the subcommand not of the command
</uwu once:1086321850075844726>
Oh
Subcommands have IDs?
I thought they were considered as options
you copy them the same way you copy a command
I'm using
client.application.commands.cache
Is there a way to retrieve it in code
bet, but never touched this
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
they dont
It's the same ID as the base command but the mention includes the subcommand in the name
Thanks
Solution
</[base name] [subcommand name]:[base id]>