Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

265
Views
i try creating a discord bot but is not connecting

i try creating a bot on discord here is my code
but when i run it is not responding on the discord server

const Discord = require("discord.js")

const TOKEN="my_token_here"

const client = new Discord.Client({
    intents:[
        "GUILDS",
        "GUILD_MESSAGES"
    ]
})
client.on("ready", ()=> {
    console.log(`Loggin in as ${client.user.tag}`)
    
})

client.on("message", async msg => {
    if (msg.content === "hi"){
        await msg.reply("Hello welcome User !")
    }
})
client.login(TOKEN)**
about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!