Skip to content
Sign upLog in
← Back to Community
Code to turn on the bot ?
Profile icon
HammyJam

Hey Everyone I have been struggling to turn on the bot like it dosen't I get like billions of errors can someone share there code to turn the bot on not like the whole thing just the code to turn it on

Voters
Profile icon
HammyJam
Comments
hotnewtop
Profile icon
QuestionableNS

there are missing Bracket

const client = new Discord.Client() client.on("ready" , () => {console.log(`Logged in as ${client.user.tag}`)}) client.on ("message" , msg => { if (msg.content === "ping") { msg.reply("pong") } }) client.login(process.env.TOKEN)