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

213
Views
Intentando editar una respuesta cuando se hace clic en el botón pero aparece este error

He estado tratando de editar la respuesta de mi bot pero aparece este error:

Error [INTERACTION_NOT_REPLIED]: La respuesta a esta interacción no ha sido enviada o aplazada.

Código:

 client.on("interactionCreate", async interaction => { if (!interaction.isCommand){ return } if (interaction.isButton()) { if(interaction.customId === 'EDIT'){ interaction.editReply({ content: "You clicked the button.", ephemeral: true }) }; } const { commandName, options } = interaction if (commandName == "button"){ const AslashButton = new Discord.MessageActionRow().addComponents( new Discord.MessageButton() .setCustomId('EDIT') .setLabel('Button') .setStyle('PRIMARY') .setDisabled(false) ); interaction.reply({ content: "Button.", components: [AslashButton], ephemeral: true }) }; })

deferReply pero respondió 'TestB está pensando...'

¿Cómo puedo hacer que el mensaje sea diferido?

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

0

Solo puede usar el seguimiento después de aplazar o responder a una interacción, y también, verifique las intenciones.

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!