Update channel type enum to un-erkinalp-ize it, and match discord

This commit is contained in:
Rory& committed 2026-01-28 22:27:05 +01:00
1 parent b40f4f10e6
commit a3ef2482ec
2 files changed
+9 -12

No files matched your search

+1 -1
View File
@@ -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;
}