When i put in node main.js to make my bot online it says
SyntaxError: Unexpected end of input
e[90m at wrapSafe (internal/modules/cjs/loader.js:931:16)e[39m
e[90m at Module._compile (internal/modules/cjs/loader.js:979:27)e[39m
e[90m at Object.Module._extensions…js (internal/modules/cjs/loader.js:1035:10)e[39m
e[90m at Module.load (internal/modules/cjs/loader.js:879:32)e[39m
e[90m at Function.Module._load (internal/modules/cjs/loader.js:724:14)e[39m
e[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)e[39m
e[90m at internal/main/run_main_module.js:17:47e[39m my code that i put in to visual studio is
const Discord = require (‘discord.js’);
const client = new Discord.Client();
client.once(‘ready’,()=> {
console.log (‘JorisAndCoBot is online!’);
client.login('Bot client id ')