mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 00:40:07 +00:00
Remove comment limit on number of component (#4189)
The limit is still in place however it is 40 total, so it is a bit more complicated to explain and the discord docs are better at doing so than what we can do with JSDoc
This commit is contained in:
@@ -318,7 +318,7 @@ export enum SeparatorSpacingSize {
|
||||
export interface DiscordContainerComponent extends DiscordBaseComponent {
|
||||
type: MessageComponentTypes.Container
|
||||
|
||||
/** Up to 10 components of the type action row, text display, section, media gallery, separator, or file */
|
||||
/** Components of the type action row, text display, section, media gallery, separator, or file */
|
||||
components: Array<
|
||||
| DiscordActionRow
|
||||
| DiscordTextDisplayComponent
|
||||
|
||||
@@ -399,7 +399,7 @@ export interface SeparatorComponent extends BaseComponent {
|
||||
export interface ContainerComponent extends BaseComponent {
|
||||
type: MessageComponentTypes.Container
|
||||
|
||||
/** Up to 10 components of the type action row, text display, section, media gallery, separator, or file */
|
||||
/** Components of the type action row, text display, section, media gallery, separator, or file */
|
||||
components: Array<ActionRow | TextDisplayComponent | SectionComponent | MediaGalleryComponent | SeparatorComponent | FileComponent>
|
||||
/** Color for the accent on the container as RGB from 0x000000 to 0xFFFFFF */
|
||||
accentColor?: number
|
||||
|
||||
Reference in New Issue
Block a user