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: make data required in autocomplete interaction and add separate dm/guild types #322

Merged
merged 2 commits into from Feb 11, 2022

Conversation

almeidx
Copy link
Member

@almeidx almeidx commented Feb 11, 2022

Please describe the changes this PR makes and why it should be merged:
As I understand it, the data property cannot be missing in any of the current interaction types (except for ping) (source)

As per @vladfrangu's request (#321 (comment)), added separate dm/guild types of the APIApplicationCommandAutocompleteInteraction

Reference Discord API Docs PRs or commits:

@vladfrangu vladfrangu merged commit 7abeb2e into discordjs:main Feb 11, 2022
@almeidx almeidx deleted the ac-guild-dm branch February 11, 2022 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants