mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
docs: general cleanup and improvements (#6299)
Co-authored-by: DaStormer <40336269+DaStormer@users.noreply.github.com> Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com> Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
This commit is contained in:
@@ -49,7 +49,7 @@ class MessagePayload {
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not the target is a webhook
|
||||
* Whether or not the target is a {@link Webhook} or a {@link WebhookClient}
|
||||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
@@ -60,7 +60,7 @@ class MessagePayload {
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not the target is a user
|
||||
* Whether or not the target is a {@link User}
|
||||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
@@ -71,7 +71,7 @@ class MessagePayload {
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not the target is a message
|
||||
* Whether or not the target is a {@link Message}
|
||||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
@@ -81,7 +81,7 @@ class MessagePayload {
|
||||
}
|
||||
|
||||
/**
|
||||
* Wether or not the target is a message manager
|
||||
* Wether or not the target is a {@link MessageManager}
|
||||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
@@ -91,7 +91,7 @@ class MessagePayload {
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not the target is an interaction
|
||||
* Whether or not the target is an {@link Interaction} or an {@link InteractionWebhook}
|
||||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
@@ -242,7 +242,7 @@ class MessagePayload {
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a `MessagePayload` from user-level arguments.
|
||||
* Creates a {@link MessagePayload} from user-level arguments.
|
||||
* @param {MessageTarget} target Target to send to
|
||||
* @param {string|MessageOptions|WebhookMessageOptions} options Options or content to use
|
||||
* @param {MessageOptions|WebhookMessageOptions} [extra={}] - Extra options to add onto specified options
|
||||
|
||||
Reference in New Issue
Block a user