I fucked up. literally
okay so i have made a bot in the past that didnt had slash commands. i literally quitted coding for 3 years. then i came for but i realised i can just transport my entire code into slash commands. so it would be way better right? like people dont have to know what is prefix, or what to write. anyways, i wrote the code in like 2 days. i refreshed the bot token. it says unauthorized. what did i do wrong you may ask. the bot doesnt have permission to create slash commands. i dont know what to do right moment. i would be so happy if anyone helps me. Thanks.
4 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!i mean the token works
it doesnt have enough permission to add slash commands
the bot is already in lots of servers
shall i make the bot send message to all servers and then leave all the servers
the clientid you’re trying to set commands to
uhh
your token and client id do not belong to the same bot
ohhhhhhhhh
oh nvm alright
i get it