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: missed enums and typings from #7290 #7331

Merged
merged 3 commits into from Jan 25, 2022
Merged

fix: missed enums and typings from #7290 #7331

merged 3 commits into from Jan 25, 2022

Conversation

IRONM00N
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:
Some typings are out of date and a few enums are still being converted to strings. I also {@link}ed the enums in the JSDocs, if you want me to revert that I will.

Status and versioning classification:

  • 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)
  • This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

@iCrawl iCrawl added this to the discord.js v14 milestone Jan 24, 2022
packages/discord.js/src/util/EnumResolvers.js Outdated Show resolved Hide resolved
@suneettipirneni
Copy link
Member

Just realized this also fixes a bug, can you go ahead and edit your PR description to add: "Closes 7336"

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.

For a future PR we should strictly type the strings users can input in the enum resolvers

@iCrawl iCrawl linked an issue Jan 25, 2022 that may be closed by this pull request
@iCrawl iCrawl merged commit 47633f0 into discordjs:main Jan 25, 2022
@IRONM00N IRONM00N deleted the missed-stuff-from-7290 branch January 25, 2022 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Message#awaitMessageComponent is not responding
7 participants