Parsing Error: Unexpected Token Client

i wanted to try to make a simple discord bot and then the “Client.login” said unexpected token client

let Discord = require(“discord.js”)
let client = new Discord.Client()

client.on(“message”, message => {
if(message.content === “Hello F0x”) {
message.channel.send(“Hello”)
}
}

client.login(My bot’s token);

because you were missing a “)” at line 8
image

1 Like