Closed BaconWrappedShrimpWithEyes closed 5 years ago
I had this happen too. Make sure that you have the Token for the bot in the auth.json file and not have the client one there or the wrong one pasted there. Try using the copy button from the site to make sure that you copied the complete token.
If you figured this out already that is great. I have seen so many issues posted on GitHub about this and people seem to post the issue but never come back and say how they fixed it if they did.
The token was copied over using the "copy" button. I recopied the token and reran
node bot.js
just to make sure, with the same results.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
For reference, I'm using a MacBook Pro on MacOS with Terminal as my command line. I know that MacOS uses the command "node" and not "nodejs" like linux does, in case anybody was going to try suggesting that. Trying command "nodejs bot.js" returns error "-bash: nodejs: command not found"