Update thread permissions

Discord has renamed / repurposed "Use Public Threads" and "Use Private
Threads", as well as added a new permission "Send Messages in Threads".

For more information, see:
  https://github.com/discord/discord-api-docs/pull/3672
This commit is contained in:
James Gayfer
2021-08-26 12:53:21 -07:00
committed by GitHub
parent d2ea33e5e9
commit 4aafa39e8c
4 changed files with 29 additions and 28 deletions

View File

@ -1496,8 +1496,8 @@ class Message(Hashable):
Creates a public thread from this message.
You must have :attr:`~discord.Permissions.send_messages` and
:attr:`~discord.Permissions.use_threads` in order to create a thread.
You must have :attr:`~discord.Permissions.create_public_threads` in order to
create a public thread from a message.
The channel this message belongs in must be a :class:`TextChannel`.