more thread improvements

This commit is contained in:
MathMan05
2026-02-03 21:05:32 -06:00
parent ce9eac5bf8
commit 323ed548ef
3 changed files with 5 additions and 2 deletions
@@ -68,7 +68,7 @@ router.post(
name: body.name,
guild_id: channel.guild_id,
rate_limit_per_user: body.rate_limit_per_user,
type: body.type,
type: body.type || (channel.threadOnly() ? ChannelType.GUILD_PUBLIC_THREAD : ChannelType.GUILD_PRIVATE_THREAD),
recipients: [],
thread_metadata: {
archived: false,