Skip to content

Conversation

suneettipirneni
Copy link
Member

@suneettipirneni suneettipirneni commented Oct 26, 2021

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

Currently ThreadMemberManager#fetch returns all members in the thread all at once. With this PR you also have to option to fetch individual members whom are part of a thread.

I'm assuming that this PR isn't breaking simply because #fetch(true) and #fetch() both behave the same way, and return the same thing. The additional params introduced now change the return types, but only when they are used.

ref:

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)

suneettipirneni and others added 2 commits October 26, 2021 01:13
Copy link
Member

@ckohen ckohen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be desirable to have a user / guild member resolvable be valid inputs for fetching a single thread member. Will defer to other reviewers on that and won't block on that basis though.

suneettipirneni and others added 4 commits October 26, 2021 12:34
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
@SpaceEEC SpaceEEC removed the discord label Oct 29, 2021
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
@iCrawl iCrawl merged commit 14716df into discordjs:main Oct 29, 2021
@suneettipirneni suneettipirneni deleted the feat/thread-member-fetching branch July 6, 2022 15:21
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.

7 participants