fix(MessageEmbed): various typos and fixes (#3819)

* fix: typo

* fix: couple more typos

* fix: grammar stuff

* fix: EmbedField takes StringResolvable not string

* Revert "fix: EmbedField takes StringResolvable not string"

This reverts commit c1bdd78ad3.

Co-authored-by: Crawl <icrawltogo@gmail.com>
This commit is contained in:
BorgerKing
2020-02-24 12:21:29 -05:00
committed by GitHub
parent acf724e691
commit 52c0a4067b

View File

@@ -215,7 +215,7 @@ class MessageEmbed {
}
/**
* Adds a fields to the embed (max 25).
* Adds fields to the embed (max 25).
* @param {...EmbedFieldData|EmbedFieldData[]} fields The fields to add
* @returns {MessageEmbed}
*/
@@ -372,7 +372,7 @@ class MessageEmbed {
}
/**
* Checks for valid field input and resolves strings
* Normalizes field input and resolves strings.
* @param {StringResolvable} name The name of the field
* @param {StringResolvable} value The value of the field
* @param {boolean} [inline=false] Set the field to display inline
@@ -394,7 +394,7 @@ class MessageEmbed {
*/
/**
* Check for valid field input and resolves strings
* Normalizes field input and resolves strings.
* @param {...EmbedFieldData|EmbedFieldData[]} fields Fields to normalize
* @returns {EmbedField[]}
*/