Fix voice channel creation

This commit is contained in:
pixtaded 2025-06-13 23:08:42 +03:00
parent 524d16e15e
commit 64d242e98d

View File

@ -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(" "))