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(typings): update GuildMemberRoleManager typings to match implementation #5497

Merged
merged 1 commit into from
Apr 14, 2021
Merged

fix(typings): update GuildMemberRoleManager typings to match implementation #5497

merged 1 commit into from
Apr 14, 2021

Conversation

thesilican
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:

Fixes the typings for GuildMemberRoleManager to match the documentation and js implementation.

Also removed OverridableManager as it is unecessary, it was only used by GuildMemberRoleManager.

Ran into this bug myself when trying to call member.roles.resolve(), which doesn't exist but existed in the typings because GuildMemberRoleManager (indirectly) inherits from BaseManager.

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

@iCrawl iCrawl merged commit 900e576 into discordjs:master Apr 14, 2021
@iCrawl iCrawl changed the title fix: update GuildMemberRoleManager typings to match implementation fix(typings): update GuildMemberRoleManager typings to match implementation Apr 14, 2021
@iCrawl iCrawl added this to the Version 13 milestone Jun 27, 2021
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.

4 participants