mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(ActionRow): fix deprecated message (#10130)
docs(ActionRow): fix deprecated link Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -27,7 +27,7 @@ class ActionRow extends Component {
|
||||
* @memberof ActionRow
|
||||
* @param {ActionRowBuilder|ActionRow|APIActionRowComponent} other The other data
|
||||
* @returns {ActionRowBuilder}
|
||||
* @deprecated Use {@link ActionRowBuilder.from} instead.
|
||||
* @deprecated Use {@link ActionRowBuilder.from | ActionRowBuilder#from} instead.
|
||||
*/
|
||||
static from = deprecate(
|
||||
other => new this(isJSONEncodable(other) ? other.toJSON() : other),
|
||||
|
||||
Reference in New Issue
Block a user