discord-php / DiscordPHP

An API to interact with the popular messaging app Discord
MIT License
985 stars 236 forks source link

Add default_thread_rate_limit_per_user in Channel creatable attributes #1021

Closed SQKo closed 1 year ago

SQKo commented 1 year ago

https://github.com/discord/discord-api-docs/pull/5606

default_thread_rate_limit_per_user is for setting the thread default rate_limit_per_user which exists on the text channel and forum channel.

Since right now flags only relevant to forums, i only added flags for forum.

Also deprecated Channel flag pinned and moved it to Thread class

SQKo commented 1 year ago

Removed flags from creatable attributes since it's not working.