'autocomplete' field not available in command JSON body?

I'm using discord-api-types (latest, v0.37.5) to directly register my commands, using the Type RESTPostAPIChatInputApplicationCommandsJSONBody for command metadata. It seems the "autocomplete" option is not available here?
2 Replies
d.js docs
d.js docs3y 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.
NovaKevin
NovaKevinOP3y ago
discord.js v13.10.2 discord-api-types v0.37.5 @discordjs/rest v1.1.0 Ahh I'm dumb... I was trying to use this on a subcommand type instead of an option type
Want results from more Discord servers?
Add your server