Skip to content

Commit

Permalink
Fix MessageCreateRequest#applyData not suppressing embeds (#2513)
Browse files Browse the repository at this point in the history
  • Loading branch information
Almighty-Satan committed Jul 31, 2023
1 parent c33fb9d commit 9ab2469
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -348,6 +348,7 @@ default R applyData(@Nonnull MessageCreateData data)
.mentionRepliedUser(data.isMentionRepliedUser())
.setEmbeds(data.getEmbeds())
.setTTS(data.isTTS())
.setSuppressEmbeds(data.isSuppressEmbeds())
.setSuppressedNotifications(data.isSuppressedNotifications())
.setComponents(layoutComponents)
.setFiles(data.getFiles());
Expand Down

0 comments on commit 9ab2469

Please sign in to comment.