Skip to content

Commit

Permalink
docs(ActionRow): fix deprecated message (#10130)
Browse files Browse the repository at this point in the history
docs(ActionRow): fix deprecated link

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
sdanialraza and kodiakhq[bot] committed Feb 23, 2024
1 parent bcd4c2c commit f67da74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/ActionRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit f67da74

Please sign in to comment.