Explicitly specify public threads when creating them in forums

The endpoint seems to fail otherwise
This commit is contained in:
Rapptz 2022-04-06 23:27:27 -04:00
parent a8b26b9257
commit 30cc00c9a4

View File

@ -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(