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

258
Views
Estoy haciendo un comando y quiero poner un "botón de más información" con una reacción en discordjs

mira, al final de mi comando, tengo esto:

 const awnserEmb = await message.channel.send({ embeds: [exampleEmbed] }); (awnserEmb).react('❓') const filter = (reaction, user) => { return ( ['❓'].includes(reaction.emoji.name) && user.id === message.author.id); }; awnserEmb .awaitReactions(filter, { max: 1, time: 60000, errors: ['time'] }) .then((collected) => { const reaction = collected.first(); if(reaction.emoji.name === '❓'){ message.channel.send('Mais informação') } }) .catch((collected) => { message.channel.send('nada aconteceu'); });

pero no funciona! dice que awaitReactions no es una función!

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

0

Las reacciones para el uso que desea están obsoletas en v13 a menos que tenga las intenciones privilegiadas activadas

por lo que te recomiendo lo siguiente

Puedes probar los nuevos Botones o Menús Interactivos

Si no desea actualizar a v13 (deberá hacerlo), use una colección de reacciones

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!