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(APIInteraction): add modal submit interaction & make data required in APIModalSubmit #321

Merged
merged 4 commits into from Feb 11, 2022

Conversation

almeidx
Copy link
Member

@almeidx almeidx commented Feb 11, 2022

Copy link
Member

@vladfrangu vladfrangu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

tests/v9/interactions.test-d.ts Outdated Show resolved Hide resolved
@almeidx almeidx marked this pull request as draft February 11, 2022 15:37
@vladfrangu
Copy link
Member

Might also need to check if it's similar to chat input commands with DM/Guild interactions 👀

@almeidx almeidx changed the title fix(APIInteraction): add modal submit interaction to union fix: add modal submit interaction to APIInteraction union & make data required Feb 11, 2022
@almeidx almeidx marked this pull request as ready for review February 11, 2022 16:03
@vladfrangu
Copy link
Member

Looks great! Found the same missing guild/dm interactions for autocompletes that anyone can fix in a subsequent PR 👀

@vladfrangu vladfrangu changed the title fix: add modal submit interaction to APIInteraction union & make data required fix(APIInteraction): add modal submit interaction & make data required in APIModalSubmit Feb 11, 2022
@vladfrangu vladfrangu merged commit f88727b into discordjs:main Feb 11, 2022
@almeidx almeidx deleted the interaction-type-fix branch February 11, 2022 20:41
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

4 participants