Issue: discord.js ^14.9.0 - TS - 401 Unauthorized

Hello, When trying to put permissions on the commands in the integration part, it throws me a 401 error. Need help please
No description
No description
6 Replies
d.js toolkit
d.js toolkit8mo ago
- 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!
Syjalo
Syjalo8mo ago
An invalid token provided. Should be the OAuth2 token of the user with the access to the command permissions.
sloth.rs
sloth.rs8mo ago
your id is 123 and also, yeah your token might be wrong
Lumi
Lumi8mo ago
That i know haha i put a real id discord but still have that issue i tested my token is good maybe i must activate something ? It is not token of the bot ?
Lumi
Lumi8mo ago
I must activate that option to give permissions to bot ?
No description
Lumi
Lumi8mo ago
If yes, what are the risks I could have? ok i understand thanks you