oenieke
DIAdiscord.js - Imagine an app
•Created by oenieke on 1/23/2025 in #djs-questions
Trying to change a channel name only works when my bot gets the admin role.
I've got some simple DiscordJS code that is trying to set the name of a specific channel.
The problem is that this only succeeds when i assign the bot the Administrator role.
From what I read in the manual, having the Manage Channel role should be sufficient, but that doesn't seem to be the case.
I made sure that the bot has server-wide MANAGE_CHANNEL rights, I have added the MANAGE_CHANNEL permission to the bot Role itself, and added it to both the channel category as well as the channel.
But I keep getting DiscordAPIError[50001]: Missing Access
Am I wrong in thinking that the MANAGE_CHANNELS permission is enough ?
47 replies