Skip to content

Commit

Permalink
add fields limit (#6585)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaydewael authored Dec 19, 2023
1 parent 8d9f1fb commit b86c029
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/Change_Log.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## Limit Number of Fields in Embeds

#### December 19, 2023

[Embed objects](#DOCS_RESOURCES_CHANNEL/embed-object) are now limited more explicitly to 25 [embed fields](#DOCS_RESOURCES_CHANNEL/embed-object-embed-field-structure). If you pass more than 25 fields within the an embed's `fields` property, an error will be returned.

Previously, only the first 25 embed fields would be displayed within the embed but no error was returned.

## Clarification on Permission Splits for Expressions and Events

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/Channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ An object that represents a tag that is able to be applied to a thread in a `GUI
| video? | [embed video](#DOCS_RESOURCES_CHANNEL/embed-object-embed-video-structure) object | video information |
| provider? | [embed provider](#DOCS_RESOURCES_CHANNEL/embed-object-embed-provider-structure) object | provider information |
| author? | [embed author](#DOCS_RESOURCES_CHANNEL/embed-object-embed-author-structure) object | author information |
| fields? | array of [embed field](#DOCS_RESOURCES_CHANNEL/embed-object-embed-field-structure) objects | fields information |
| fields? | array of [embed field](#DOCS_RESOURCES_CHANNEL/embed-object-embed-field-structure) objects | fields information, max of 25 |

###### Embed Types

Expand Down

0 comments on commit b86c029

Please sign in to comment.