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

159
Views
DiscordAPIError: no se puede enviar un mensaje vacío con e incrustar

No puedo resolver el problema, siempre aparece No puedo enviar un mensaje vacío.

 module.exports = { name: 'actualhelp', description: "here is some ACTUAL help", execute(message, args, Discord){ const newEmbed = new Discord.MessageEmbed() .setColor('#304281') .setTitle('Help') .setURL('URL') .setDescription('Here is some basic help') .addFields( {name: '4/102', value: 'Base Set Charizard'}, {name: 'cool', value: 'You will become cool with the Looking Epic role'}, {name: 'ugly', value: 'Thats not nice, you are now not cool and have your Looking Epic role removed if you already had it'}, {name: 'help', value: 'get fooled kiddo, I aint helping you'}, {name: 'kick', value: 'checks to see if you can kick people'}, {name: 'ping', value: 'play some ping pong with me'} ) .setImage('Image url'); message.channel.send({newEmbed}); } }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

La forma en que está enviando la inserción actualmente es idéntica a esta:

 message.channel.send({newEmbed: newEmbed})

Sin embargo, esta no es una propiedad válida para establecer. En su lugar, puede embed: newEmbed

 message.channel.send({ embed: newEmbed })

o en v13, embeds: [newEmbed]

 message.channel.send({ embeds: [newEmbed] })
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!