mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 23:44:29 +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
|
||||
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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user