mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
feat: general component improvements (#5787)
This commit is contained in:
@@ -22,13 +22,15 @@ class BaseMessageComponent {
|
||||
*/
|
||||
|
||||
/**
|
||||
* Components that can be sent in a message
|
||||
* Components that can be sent in a message. This can be:
|
||||
* * MessageActionRow
|
||||
* * MessageButton
|
||||
* @typedef {MessageActionRow|MessageButton} MessageComponent
|
||||
*/
|
||||
|
||||
/**
|
||||
* Data that can be resolved to a MessageComponentType. This can be:
|
||||
* * {@link MessageComponentType}
|
||||
* * MessageComponentType
|
||||
* * string
|
||||
* * number
|
||||
* @typedef {string|number|MessageComponentType} MessageComponentTypeResolvable
|
||||
|
||||
Reference in New Issue
Block a user