Access error using a channel deletion method
Yo. When I add my bot to the guild I request ManageChannels & ManageRoles permissions. Right now on my test server I found a rather strange error.
If I right now execute this function with current perms. The channel will be successfully deleted.
---
I wanted to add a command to block this channel. I execute it like this:
But after executing this command, the bot loses the ability to delete this channel.
I checked the permissions of the bot before blocking the channel - and after. Didn't notice the difference.
2 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Ok. I just solved this problem. Looking at djs code I noticed all requested perms. And I did not provide myself with "Connect"