Permission to add role?
help im trying to make a bot, it worked perfectly on my test server with test accounts but then i put it into production and now it's getting this error:
The error is from line 145:
I gave my bot admin permissions when creating the invite link, so what could the problem be? Shouldn't it be able to do literally everything?
11 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.Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
its not!
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Documentation suggestion for @skeddles: Role#managed
Whether or not the role is managed by an external service
i see, that's makes sense
check if this is true
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yeah I know
I told him to check this property before adding a role
does discord create a new role automatically for each bot?
yeah
if the bot scope enabled