! 𝑱𝒂𝒎𝒆𝒔__ - 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
![No description](https://utfs.io/f/b1807b71-99ba-46fc-9f70-8041efb72cac-diukd4.jpg)
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