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(Threads): add support for invitable in private threads #6501

Merged
merged 4 commits into from Aug 29, 2021

Conversation

ckohen
Copy link
Member

@ckohen ckohen commented Aug 22, 2021

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

Closes: #6379

Fixes a bug in typings that didn't pass the allowable thread types properly for news channels since this relies on it.

⚠️ The invitable field in the thread creation endpoint does not seem to be respected at the moment, it is supported here, but the API does not utilize it, always setting true.

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)

typings/index.d.ts Outdated Show resolved Hide resolved
@iCrawl iCrawl added this to the Version 13.2 milestone Aug 23, 2021
ckohen and others added 2 commits August 25, 2021 13:05
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com>
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
@ImRodry
Copy link
Contributor

ImRodry commented Aug 25, 2021

@ckohen I meant it for all properties but I’ll probably make a PR in the upcoming days to do this for everything across the lib if u don’t wanna change it now

@ckohen
Copy link
Member Author

ckohen commented Aug 25, 2021

I know you meant for all properties, its not in scope for this PR

@ImRodry
Copy link
Contributor

ImRodry commented Aug 25, 2021

Ah alright sorry, didn’t see your reply above

Co-authored-by: Noel <buechler.noel@outlook.com>
@iCrawl iCrawl merged commit a693254 into discordjs:main Aug 29, 2021
@ckohen ckohen deleted the thread-invitable branch August 29, 2021 20:51
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.

Add support for invitable field for private threads
7 participants