missing permissions / permissions are already granted
Hey there, my bot is not able to create a channel.
As the error suggests, it is missing some kind of permission, although it already has both manage roles and manage channels permissions to create the channel with permission overwrites. Is there any possible solution?
10 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- 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!what's the full error including stack
that's all i get
There's more below it because that last line is cropped
It should include the API path
the last line just shows the line of the code
which is this part
the error stops there
it has all 3
sending messages in other channels with embeds works fine
i got the extra part
PermissionsBitField { bitfield: 1808015873801975n }
?
yes
it creates the channel, but it does not set the permissions
i take that back, it succeeds
the parent seems to be the issue
PermissionsBitField { bitfield: 1808015873800951n }
alright, is there any way i can simplify that bitfield into permission names, for better understanding on my end?