- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
✅Marked as resolved by OP
#PermissionOverwrites
20 messages · Page 1 of 1 (latest)
can we see the code that the error fires on
There is no enum called Pemrissuins
You can use PermissionsBitField
If you're using 14.14.1, thats invalid code
PermissionsBitField (extends BitField)
Data structure that makes it easy to interact with a permission bitfield. All GuildMembers have a set of permissions in their guild, and each channel in the guild may also have PermissionOverwrites for the member that override their default permissions.
I believe this would work ^
GuildChannelManager#create()
Creates a new channel in the guild.
create takes a single param
I got this other error
please show us the code it fires on
same of before i guess
there is only one parameter and it is an object: as arctic said, create takes a single parameter
you pass two parameters into the function: your name field should just be a part of the options by using name: (name),