mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +00:00
Explicitly specify public threads when creating them in forums
The endpoint seems to fail otherwise
This commit is contained in:
parent
a8b26b9257
commit
30cc00c9a4
@ -2225,6 +2225,7 @@ class ForumChannel(discord.abc.GuildChannel, Hashable):
|
||||
'name': name,
|
||||
'auto_archive_duration': auto_archive_duration or self.default_auto_archive_duration,
|
||||
'rate_limit_per_user': slowmode_delay,
|
||||
'type': 11, # Private threads don't seem to be allowed
|
||||
}
|
||||
|
||||
with handle_message_parameters(
|
||||
|
Loading…
x
Reference in New Issue
Block a user