aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-07-31 22:55:32 -0400
committerRapptz <[email protected]>2021-07-31 22:55:32 -0400
commitf72350199d5ed09e0e56e7a270249bf51ab78af1 (patch)
tree8e684eef2a0924c5e649036e5c0323eeb3904032
parentAdd enable_debug_events parameter to enable expensive debug events (diff)
downloaddiscord.py-f72350199d5ed09e0e56e7a270249bf51ab78af1.tar.xz
discord.py-f72350199d5ed09e0e56e7a270249bf51ab78af1.zip
Fix typo in TextChannel.start_thread
-rw-r--r--discord/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/channel.py b/discord/channel.py
index 1ac05c65..05e9c55c 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -648,7 +648,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
you must have :attr:`~discord.Permissions.send_messages` and
:attr:`~discord.Permissions.use_private_threads` in order to start the thread
if the ``type`` parameter is :attr:`~discord.ChannelType.private_thread`.
- Otherwise :attr:`~discord.Permissions.use_public_threads` is needed.
+ Otherwise :attr:`~discord.Permissions.use_threads` is needed.
If a starter message is passed with the ``message`` parameter then
you must have :attr:`~discord.Permissions.send_messages` and