Skip to content

Commit

Permalink
commit suggested changes
Browse files Browse the repository at this point in the history
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com>
  • Loading branch information
castdrian and vaporoxx committed Jun 11, 2021
1 parent 73a6375 commit 34d0d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/APIMessage.js
Expand Up @@ -198,7 +198,7 @@ class APIMessage {
content,
tts,
nonce,
embeds: this.options.embeds ? embeds : undefined,
embeds: this.options.embeds?.map(embed => new MessageEmbed(embed).toJSON()),
components,
username,
avatar_url: avatarURL,
Expand Down

0 comments on commit 34d0d31

Please sign in to comment.