I have a discord bot running which is connected to a backend in nodejs. While the bot was successfully adding members with roles through the add member API. It somehow fails to add roles when the bot joined a server that already had roles inside it.
The API throws 403 on it.
So basically if the bot is added to a server and then roles are made, it works fine. If I try to use a role that was made before the bot was added, it does not work. It has me confused.
Any help is appreciated!