Document starter message requirements in ForumChannel.create_thread

This commit is contained in:
Rapptz 2023-01-18 07:11:33 -05:00
parent 3c91d2163e
commit a8177dd5bd

View File

@ -2538,6 +2538,9 @@ class ForumChannel(discord.abc.GuildChannel, Hashable):
This thread is a public thread with the initial message given. Currently in order
to start a thread in this forum, the user needs :attr:`~discord.Permissions.send_messages`.
You must send at least one of ``content``, ``embed``, ``embeds``, ``file``, ``files``,
or ``view`` to create a thread in a forum, since forum channels must have a starter message.
Parameters
-----------
name: :class:`str`