Skip to content

Embed isn't sending #7848

Closed Answered by Syjalo
its-mrarsikk asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Jiralite

This comment has been hidden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #7847 on April 26, 2022 08:35.