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

149
Views
Por qué "presenceUpdate" no funciona Discord.js

client.on("presenceUpdate", function (oldPresence, newPresence) { console.log(oldPresence, newPresence); }

Esto no muestra nada en ningún registro aunque no aparece ningún error en los registros discordjs v12.5.3.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

hola, si está tratando de configurar la presencia del cliente del bot, le recomendaría hacer la función client.user.setPresence y si desea consolar el estado de los clientes, puede hacer console.log(status)

 let status; switch (client.presence.status) { case "online": status = "🥳 Online"; break; case "dnd": status = "😡 Do Not Disturb"; break; case "idle": status = "😑 Idle"; break; case "offline": status = "😵 Offline"; break; } console.log(status);
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!