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

feat(Utils): add more typeguard functions to determine the interaction types #355

Merged
merged 3 commits into from Mar 5, 2022

Conversation

IanMitchell
Copy link
Member

@IanMitchell IanMitchell commented Mar 4, 2022

Please describe the changes this PR makes and why it should be merged:
These functions are super useful for narrowing the type from the generic Interaction types into a specific interaction type

@IanMitchell IanMitchell changed the title feat(APIApplicationCommandInteraction): Adds typeguard functions to determine the command type feat(Utils): Adds typeguard functions to determine the interaction types Mar 4, 2022
utils/v10.ts Show resolved Hide resolved
@vladfrangu vladfrangu changed the title feat(Utils): Adds typeguard functions to determine the interaction types feat(Utils): add more typeguard functions to determine the interaction types Mar 5, 2022
@vladfrangu vladfrangu merged commit dec7717 into discordjs:main Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants