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(ThreadManager): add slowmode option on thread creation #6989

Merged

Conversation

suneettipirneni
Copy link
Member

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

Allows newly created threads to specify the amount of time a user has to wait before sending a consecutive message.

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 suneettipirneni changed the title feat(ThreadManager): add user rate limit option on creation' feat(ThreadManager): add user rate limit option on creation Nov 15, 2021
@suneettipirneni suneettipirneni changed the title feat(ThreadManager): add user rate limit option on creation feat(ThreadManager): add per user rate limit option on creation Nov 15, 2021
@ImRodry
Copy link
Contributor

ImRodry commented Nov 15, 2021

Maybe the description should match this one https://discord.js.org/#/docs/main/stable/typedef/CategoryCreateChannelOptions ?

@suneettipirneni suneettipirneni changed the title feat(ThreadManager): add per user rate limit option on creation feat(ThreadManager): add slowmode option on thread creation Nov 15, 2021
src/structures/Message.js Outdated Show resolved Hide resolved
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
@iCrawl iCrawl requested a review from SpaceEEC November 16, 2021 17:30
@iCrawl iCrawl added this to the Version 13.4 milestone Nov 16, 2021
@iCrawl iCrawl merged commit 493e4f9 into discordjs:main Nov 17, 2021
@suneettipirneni suneettipirneni deleted the feat/thread-per-user-rate-limit branch February 7, 2022 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

6 participants