i have a small problem with my code that at a given action must create a text channel in a category that is accessed by the server administrator, the user who invoked the command, and the user tagged in the command. It all works I manage to create the channel I can even add it to the right cateory but I can't change its permissions. I have tried a variety of methods including: updateOverwrite createOverwrite overwritePermissions updateOvermissions (Recommended by ChatGPT I think it was a bit gone when he recommended it)
The problem is that with all these methods I get back the error function not found
Any ideas?
Ecco il codice:
guild.channels.create(
{
name: "》《