! π±ππππ__ - Hello, I need help with my backup cod...
Hello, I need help with my backup code.
The rooms are created correctly but the categories are created with the names of the rooms...
Here is a screenshot.
Would you please adapt my code because it's been a few days that I'm on it but I can't do it

1 Reply
Your if statement is incorrect, you are comparing ChannelType.GuildCategory === 4, which doesnt make any sense, since you are comparing an enum to a number
try doing, channel.type === 4