revert: support for nested arrays of components, fix error handling (#6081)

This commit is contained in:
monbrey
2021-07-12 16:53:27 +10:00
committed by GitHub
parent dee5c83fc0
commit 1dcad051a8
8 changed files with 15 additions and 23 deletions

View File

@@ -572,7 +572,7 @@ class Message extends Base {
* @property {MessageAttachment[]} [attachments] An array of attachments to keep,
* all attachments will be kept if omitted
* @property {FileOptions[]|BufferResolvable[]|MessageAttachment[]} [files] Files to add to the message
* @property {MessageActionRow[]|MessageActionRowOptions[]|MessageActionRowComponentResolvable[][]} [components]
* @property {MessageActionRow[]|MessageActionRowOptions[]} [components]
* Action rows containing interactive components for the message (buttons, select menus)
*/