You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to Discord documentation, authorizing_integration_owners is available for all interactions like id or type. context is nullable but nothing suggests that it is not present for autocomplete interactions as a rule. In Discord.js, these fields are only available for CommandInteraction and not AutocompleteInteraction.
Code sample
functiononCommand(interaction: ChatInputCommandInteraction){interaction.authorizingIntegrationOwners;interaction.context;}functiononAutocomplete(interaction: AutocompleteInteraction){interaction.authorizingIntegrationOwners;// Property 'authorizingIntegrationOwners' does not exist on type 'AutocompleteInteraction<CacheType>'.ts(2339)interaction.context;// Property 'context' does not exist on type 'AutocompleteInteraction<CacheType>'.ts(2339)}
Versions
discord.js 14.16.2
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Not applicable
Which gateway intents are you subscribing to?
Not applicable
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered:
Which package is this bug report for?
discord.js
Issue description
According to Discord documentation,
authorizing_integration_owners
is available for all interactions likeid
ortype
.context
is nullable but nothing suggests that it is not present for autocomplete interactions as a rule. In Discord.js, these fields are only available for CommandInteraction and not AutocompleteInteraction.Code sample
Versions
discord.js 14.16.2
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Not applicable
Which gateway intents are you subscribing to?
Not applicable
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: