Skip to content

Commit

Permalink
clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
LivacoNew committed Jan 16, 2023
1 parent e5c3ecc commit 0c9ff91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DiscordWebhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public function setAllowedMentions(?AllowedMentions $mentions) {

/**
* Adds a rich embed to the webhook. A max of 10 embeds can be attached to one message.
* **IMPORTANT NOTE:** Only one true rich embed is allowed. All other embed slots will not be rich embeds, but can only be used to add images to the first embed. Blame discord, not me.
* @param Embed $embed The embed to add.
* @return DiscordWebhook The webhook object.
* @throws UnexpectedValueException If the webhook already has 10 embeds.
Expand Down

0 comments on commit 0c9ff91

Please sign in to comment.