Closed GrantedLegacy closed 5 years ago
You need to open it in Node.js
Start by opening Node.js command prompt and type "cd C:/Users\Daniel\Documents\DiscordBot\bot.js"
Then type "node bot".
(both without quotation marks)
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.
Cannot find module './auth.json' It is the only "file" type in my discord bot. Also, my bot.js file turned into a "Bot" file. Whenever I try to open the bot file, it shows this Windows Script Host ❌ Script C:/Users\Daniel\Documents\DiscordBot\bot.js Line: 1 Char: 1 Error: Object expected Code: 800-13-- Source: Microsoft Jscript runtime error
What happened here?