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:
Rodry
2021-08-05 20:34:06 +01:00
committed by GitHub
parent 4241febe24
commit b4afcf8236
39 changed files with 203 additions and 136 deletions

View File

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