Fix voice channel creation
This commit is contained in:
parent
524d16e15e
commit
64d242e98d
@ -236,9 +236,9 @@ export class Channel extends BaseClass {
|
|||||||
403,
|
403,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Categories skip these checks on discord.com
|
// All channels except guild text skip these checks on discord.com
|
||||||
if (
|
if (
|
||||||
channel.type !== ChannelType.GUILD_CATEGORY ||
|
channel.type == ChannelType.GUILD_TEXT ||
|
||||||
guild.features.includes("IRC_LIKE_CATEGORY_NAMES")
|
guild.features.includes("IRC_LIKE_CATEGORY_NAMES")
|
||||||
) {
|
) {
|
||||||
if (channel.name.includes(" "))
|
if (channel.name.includes(" "))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user