Closed its-mrarsikk closed 2 years ago
You need to use 'embeds' instead of 'embed'.
- message.channel.send({ embed: [membed] })
+ message.channel.send({ embeds: [membed] })
@Mateo-tem Only message without plain text were sent.
Sending and editing now takes only a single object parameter
- channel.send(embed);
+ channel.send({ embeds: [embed, embed2] });
- channel.send('Hello!', { embed });
+ channel.send({ content: 'Hello!', embeds: [embed, embed2] });
Full migration guide to discord.js v13: https://discordjs.guide/additional-info/changes-in-v13.html
@its-mrarsikk use the issue tracker only for bug reports and enhancement suggestions. This isn't a bug. If you have a question, please ask it in the Discord server instead of opening an issue.
Which package is this bug report for?
discord.js
Issue description
Hello! I am writing a bot, and i have 2 commands, that sends embeds. No one of them sends embeds, what i don't want. You can look at codes of both in code samples.
Code sample
Package version:
13.6.0
Node.js version:
17.3.1
Operating system:
Windows 10 Pro x64
Priority this issue should have:
Medium (should be fixed soon)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
Guilds, GuildVoiceStates, GuildMessages
I have tested this issue on a development release:
I did not