summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-01-28 22:27:05 +0100
committerRory& <root@rory.gay>2026-01-28 22:27:05 +0100
commita3ef2482ec86ff5e2ecea971aafb5c8b6a3c017b (patch)
tree063515928928a21a351dbd73d2fd6932e62e00ba /src/util
parentRename use_thread permissions to create_thread (diff)
downloadserver-ts-a3ef2482ec86ff5e2ecea971aafb5c8b6a3c017b.tar.xz
Update channel type enum to un-erkinalp-ize it, and match discord
Diffstat (limited to 'src/util')
-rw-r--r--src/util/entities/Channel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts

index a250758f..65e4a000 100644 --- a/src/util/entities/Channel.ts +++ b/src/util/entities/Channel.ts
@@ -426,7 +426,7 @@ export class Channel extends BaseClass { // Does the channel support sending messages ( eg categories do not ) isWritable() { - const disallowedChannelTypes = [ChannelType.GUILD_CATEGORY, ChannelType.GUILD_STAGE_VOICE, ChannelType.VOICELESS_WHITEBOARD]; + const disallowedChannelTypes = [ChannelType.GUILD_CATEGORY, ChannelType.GUILD_STAGE_VOICE]; return disallowedChannelTypes.indexOf(this.type) == -1; }