Comments (3)
If there is a specific reason for getUser being Omitted, I'm all ears!
The specific reason was that Discord did not send the "resolved" items (full structures) for the other options in an AutocompleteInteraction. You would only receive the ID, which is why the option resolver supported the generic get
but not the methods to get full structures like getUser
etc.
We can test this ourselves and see if we can reproduce your results. If so, it seems that might no longer be the case and we can restore these methods.
from discord.js.
Sounds good! Thanks!
from discord.js.
We can test this ourselves and see if we can reproduce your results.
Still doesn't.
Your reproducible sample is not convincing either as it has a fallback to the invoker.
from discord.js.
Related Issues (20)
- .toJSON() is 'unknown' HOT 1
- crashing after message deletion HOT 5
- Using channel.send on a channel where the bot has not the permission to post makes the whole program crash HOT 3
- Kicking the bot from its dev guild and inviting it again drops the slash commands HOT 6
- Automated Message nonce handling HOT 1
- Emit poll events on uncached messages
- `ws` throws `TypeError: Cannot use 'in' operator to search for 'code' in undefined` when with Deno HOT 6
- Wrong base URL for GIF stickers
- [Typing] `interaction.followUp()` should not have `ephemeral` in its options? HOT 6
- oops HOT 1
- Uncaught exception when adding member that is already part of the guild
- Readonly arrays in interfaces don't allow dynamically adding data
- Allow InteractionOptionResolvers to return the raw value for different option types (like user) HOT 4
- DiscordAPIError[10062]: Unknown interaction (AutoComplete) HOT 1
- Cannot add user option when using localizations HOT 3
- Bot can't enter the ready state in voice channels
- New Premium Button Style & Deep Linking URL Schemes HOT 2
- Conflict between discord.js + @nodes/types after upgrading HOT 20
- ws affected by a DoS when handling a request with many HTTP headers HOT 1
- update @discordjs/ws HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord.js.