Is it possible to have an autocomplete user command ?

I saw in the documentation that a property of AutocompleteInteraction is "commandType". Does this mean that we can have a user/message command with autocomplete? If so, do you have an example of how this works? https://discord.js.org/#/docs/discord.js/main/class/AutocompleteInteraction?scrollTo=commandType
Discord.js
Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Apokalypt
Apokalypt2y ago
I don't know that why I asked 😅 The documentation indicates that it is possible to have all application command types, but I didn't see how it could work Alright, that makes sense 👍