docs: Better links for .toJSON() of button and select menu (#6745)

Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com>
This commit is contained in:
Jiralite
2021-10-03 14:26:21 +01:00
committed by GitHub
parent d15dd5f07d
commit 6e5c768379
2 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ class MessageButton extends BaseMessageComponent {
/**
* Transforms the button to a plain object.
* @returns {APIMessageComponent} The raw data of this button
* @returns {APIMessageButton} The raw data of this button
*/
toJSON() {
return {