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(RoleManager): added edit method, alias Role#edit #5983

Merged
merged 4 commits into from Jul 1, 2021

Conversation

kyranet
Copy link
Member

@kyranet kyranet commented Jun 30, 2021

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

Fixes #5634

Also implements RoleManager#edit to be consistent with many other managers.

  • Updated typings.
  • Tested RoleManager#edit.
  • Tested Role#edit.

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
  • This PR changes the library's interface (methods or parameters added)

kyranet and others added 2 commits June 30, 2021 23:43
Co-authored-by: monbrey <rsm999@uowmail.edu.au>
This is why we need TypeScript.
@kyranet kyranet marked this pull request as ready for review June 30, 2021 21:53
src/managers/RoleManager.js Outdated Show resolved Hide resolved
@kyranet kyranet requested a review from SpaceEEC July 1, 2021 10:53
@iCrawl iCrawl merged commit 1e73c25 into discordjs:master Jul 1, 2021
@kyranet kyranet deleted the feat/added-role-manager-edit branch July 1, 2021 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants