mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 19:34:23 +00:00
Document starter message requirements in ForumChannel.create_thread
This commit is contained in:
parent
3c91d2163e
commit
a8177dd5bd
@ -2538,6 +2538,9 @@ class ForumChannel(discord.abc.GuildChannel, Hashable):
|
|||||||
This thread is a public thread with the initial message given. Currently in order
|
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`.
|
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
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
name: :class:`str`
|
name: :class:`str`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user