AutocompleteInteraction options#getUser doesn't exist

Why is it saying that the getUser doesn't exist even tho it does?
Solution:
auto complete doesn't have getUser user options cannot have autocomplete set to true read the docs ...
Discord Developer Portal
Discord Developer Portal — API Docs for Bots and Developers
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Jump to solution
6 Replies
Favna
Favna2y ago
1. Always show full code. 3. that
Spinel
Spinel2y ago
When asking for help, make sure to provide as much detail as possible. What have you tried so far? Do you have stacktraces that you can show us? What are you trying to achieve? Try to answer these questions and others, so we do not have to ask for them afterwards.
❯ For a good guide on how to ask questions, see the instructions that StackOverflow gives. You should try to always follow these guidelines. ❯ For an excellent video that shows how not to ask technical questions is this, watch this YouTube video by LiveOverflow. ❯ Asking technical questions (Clarkson)How to ask questions the smart way (Raymond)
Solution
Favna
Favna2y ago
Discord Developer Portal
Discord Developer Portal — API Docs for Bots and Developers
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
ْكِج
ْكِجOP2y ago
Typescript showed that it has so I got a bit confused. Thank you for clarifying things.
Favna
Favna2y ago
it shows it DOESNT have it From CommandIntercationOptionResolver Omit "getMessage" | "getUser"
ْكِج
ْكِجOP2y ago
I solved it already thanks for the note tho always appreciated.
Want results from more Discord servers?
Add your server