Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(BaseInteraction): add missing props #10517

Merged
merged 6 commits into from
Sep 23, 2024
Merged

Conversation

monbrey
Copy link
Member

@monbrey monbrey commented Sep 22, 2024

Fixes #10516

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating
  • This PR changes the library's interface (methods or parameters added)

Copy link

vercel bot commented Sep 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Sep 23, 2024 10:31am
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Sep 23, 2024 10:31am

@kevinlul
Copy link

I know I reported for specifically AutocompleteInteraction because that's the type affecting our bot, but this implementation may need to be moved up to BaseInteraction if all interactions are supposed to have these fields.

@monbrey
Copy link
Member Author

monbrey commented Sep 22, 2024

I know I reported for specifically AutocompleteInteraction because that's the type affecting our bot, but this implementation may need to be moved up to BaseInteraction if all interactions are supposed to have these fields.

Good point - I had thought it would only apply to "installed" commands, but it does seem to be on all of them. I'll move it.

@monbrey monbrey changed the title fix(AutocompleteInteraction): add missing props fix(BaseInteraction): add missing props Sep 23, 2024
Co-authored-by: Danial Raza <danialrazafb@gmail.com>
@kodiakhq kodiakhq bot merged commit 6c77fee into discordjs:main Sep 23, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

AutocompleteInteraction does not define context or authorizingIntegrationOwners
7 participants