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:
Danial Raza
2024-02-23 01:37:43 +01:00
committed by GitHub
parent bcd4c2cb23
commit f67da74a5a

View File

@@ -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),