Browse Source

Explicitly specify public threads when creating them in forums

The endpoint seems to fail otherwise
pull/7855/head
Rapptz 3 years ago
parent
commit
30cc00c9a4
  1. 1
      discord/channel.py

1
discord/channel.py

@ -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…
Cancel
Save