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(*RoleManager): Create set of role ids correctly #6674

Merged
merged 2 commits into from Sep 26, 2021

Conversation

Jiralite
Copy link
Member

Please describe the changes this PR makes and why it should be merged:
The Set in these two managers were being created improperly as it compared ids with Roles, which wouldn't work. This pull request resolves this (and resolves #6673).

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

src/managers/GuildEmojiRoleManager.js Outdated Show resolved Hide resolved
src/managers/GuildMemberRoleManager.js Outdated Show resolved Hide resolved
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com>
@iCrawl iCrawl merged commit f8aa4bd into discordjs:main Sep 26, 2021
@Jiralite Jiralite deleted the set-fixes branch September 26, 2021 19:58
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.

Bug: API Error when trying to add an array of roles to a member if roles arent removed prior
5 participants