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

167
Views
Discord.JS Enviar todas las incrustaciones desde Array

múltiples incrustaciones insertadas en la matriz, pero necesito escribirlas en el mensaje de envío sin escribir el número específico Incrustaciones [0], Incrustaciones [1] y más ...

no puedo encontrar una manera

 let Embeds = []; Embeds.push(new MessageEmbed() .setTitle("title") .setColor("#3d9e00") .setDescription("TEST")); msg.channel.send({ embeds: [Embeds[0], Embeds[1]] });
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Simplemente use Embeds como valor de embeds :

 msg.channel.send({ embeds: Embeds })

Al hacer: [Embeds[0], Embeds[1]] solo está copiando la matriz original.

about 4 years ago · Juan Pablo Isaza Report

0

También puedes usar:

 let embed = new MessageEmbed() .... let embed2 = new MessageEmbed() .... msg.channel.send({embeds: [embed, embed2]})
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!