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

106
Views
Comprobar si se ha hecho ping al bot

Así que tengo un bot y si recibe un ping en un mensaje, quiero que "muera". Encontré una respuesta aquí y lo probé y no funciona. Me preguntaba si ha habido un cambio.

 client.on("messageCreate", async message => { if(message.mentions.has(but.user)) { message.reply("The bot will now die. Have a nice day!") client.destroy(); } })
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Use la identificación del cliente para verificar la mención Colección

 if (message.mentions.users.has(client.user.id)) { }
about 4 years ago · Juan Pablo Isaza Report
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!