From 64d242e98d5a7147587fcfd4059cfb3679e4029e Mon Sep 17 00:00:00 2001 From: pixtaded Date: Fri, 13 Jun 2025 23:08:42 +0300 Subject: [PATCH] Fix voice channel creation --- src/util/entities/Channel.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts index 898308ac..7771e654 100644 --- a/src/util/entities/Channel.ts +++ b/src/util/entities/Channel.ts @@ -236,9 +236,9 @@ export class Channel extends BaseClass { 403, ); - // Categories skip these checks on discord.com + // All channels except guild text skip these checks on discord.com if ( - channel.type !== ChannelType.GUILD_CATEGORY || + channel.type == ChannelType.GUILD_TEXT || guild.features.includes("IRC_LIKE_CATEGORY_NAMES") ) { if (channel.name.includes(" "))