summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorMathMan05 <mathmanrm@gmail.com>2026-02-03 21:05:32 -0600
committerMathMan05 <mathmanrm@gmail.com>2026-02-03 21:05:32 -0600
commit323ed548ef3c397fa56ddfd6887aaf942557599c (patch)
tree2265c0c9858068479b8f669bfd2670fc7025bfd9 /src/util
parentstupid migration (diff)
downloadserver-ts-323ed548ef3c397fa56ddfd6887aaf942557599c.tar.xz
more thread improvements
Diffstat (limited to 'src/util')
-rw-r--r--src/util/entities/Channel.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts

index d57d8361..751fa3ad 100644 --- a/src/util/entities/Channel.ts +++ b/src/util/entities/Channel.ts
@@ -281,6 +281,9 @@ export class Channel extends BaseClass { return ret; } + threadOnly() { + return this.type === ChannelType.GUILD_FORUM || this.type === ChannelType.GUILD_MEDIA; + } static async createThreadChannel( channel: Partial<Channel>,