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

499
Views
Discord JS: eliminar un mensaje de respuesta

Estoy tratando de eliminar cierto mensaje con cierto evento como este:

 await interaction.reply({ content: `content` }) .then(message => { console.log(message); client.on('messageDelete', async () => { await message.delete(); }); });

Pero me quedo indefinido en un console.log como un mensaje. ¿Qué está mal? Ya hice la eliminación de mensajes con .then() y funcionó, pero ahora algo anda mal. ¿Quizás porque es una respuesta, no un simple mensaje?

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

0

Puede eliminar una respuesta a una interacción usando deleteReply()

 // Delete the reply to this interaction interaction.deleteReply() .then(console.log) .catch(console.error);
over 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
Virtual assistant