Ask coding questions

← Back to all posts
BOT ERROR
HammyJam

/home/runner/Cozy-Bot/index.js:14 client.login(process.env.TOKEN SyntaxError: Unexpected end of input

What do i do

Voters
HammyJam
Comments
hotnewtop
HammyJam

But i already have that ;d

HammyJam

Alright thanks! let me try

CosmicBear

console.log(`Logged in as ${client.user.tag`}) Try that.

HammyJam

@CosmicBear Already have that line

CosmicBear

@HammyJam no you don't

CosmicBear

look closer