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

183
Views
¿Por qué mi bot no hace ping al usuario cuando se menciona en v13?

Estoy enviando un mensaje y aparece en el canal, pero no recibo la notificación de ping rojo a pesar de que me mencionan. este es mi codigo

 await message.guild["channels"].cache .get(<SOME_ID>) .send({ allowedMentions: { repliedUser: true }, content: `Welcome <@${message.author.id}> this is your channel` });

¿Por qué no me avisan?

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

0

Solo tenía que agregar allowedMentions: { users: [message.author.id]}

El código final sería:

 await message.guild["channels"].cache .get(<SOME_ID>) .send({ allowedMentions: { users: [message.author.id], repliedUser: true }, content: `Welcome <@${message.author.id}> this is your channel` });

Esto hace ping al usuario dado.

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!