mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
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 c1bdd78ad378a4c2e2f9772753c24aaab0c2d910. Co-authored-by: Crawl <icrawltogo@gmail.com>
This commit is contained in:
parent
acf724e691
commit
52c0a4067b
1 changed files with 3 additions and 3 deletions
|
|
@ -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[]}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue