Missing permission on creating channel
Bot is able to create category but fails when creating channel.
I have give manage Channel permission to bot.
here is apiece of code which i use
6 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!
- ✅
Marked as resolved by OPAre you creating a category it cant view?
counter channels are api spam 😠 😠 😠
let catogory = await guild.channels.create({
name: "📊Minecraft Server Status📊",
type: ChannelType.GuildCategory,
permissionOverwrites: [
{
id: m.guild.id,
deny: [PermissionFlagsBits.ManageChannels],
},
],
position: 0,
});
okay, yes
You denied everyone in the guild (including your bot) permission to manage that category
ok