mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
docs(*): add class links to isX() methods (#6007)
This commit is contained in:
@@ -114,7 +114,7 @@ class Interaction extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this interaction is a command interaction.
|
||||
* Indicates whether this interaction is a {@link CommandInteraction}.
|
||||
* @returns {boolean}
|
||||
*/
|
||||
isCommand() {
|
||||
@@ -122,7 +122,7 @@ class Interaction extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this interaction is a message component interaction.
|
||||
* Indicates whether this interaction is a {@link MessageComponentInteraction}.
|
||||
* @returns {boolean}
|
||||
*/
|
||||
isMessageComponent() {
|
||||
@@ -130,7 +130,7 @@ class Interaction extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this interaction is a button interaction.
|
||||
* Indicates whether this interaction is a {@link ButtonInteraction}.
|
||||
* @returns {boolean}
|
||||
*/
|
||||
isButton() {
|
||||
@@ -141,7 +141,7 @@ class Interaction extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this interaction is a select menu interaction.
|
||||
* Indicates whether this interaction is a {@link SelectMenuInteraction}.
|
||||
* @returns {boolean}
|
||||
*/
|
||||
isSelectMenu() {
|
||||
|
||||
Reference in New Issue
Block a user