mirror of
https://github.com/danbulant/discord.js
synced 2026-07-09 05:00:48 +00:00
Add convenience function RichEmbed.addBlankField (#1139)
This commit is contained in:
parent
7c8f534a38
commit
cc3e7b26b1
1 changed files with 9 additions and 0 deletions
|
|
@ -150,6 +150,15 @@ class RichEmbed {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convenience function for `<RichEmbed>.addField('\u200B', '\u200B', inline)`.
|
||||||
|
* @param {boolean} [inline=false] Set the field to display inline
|
||||||
|
* @returns {RichEmbed} This embed
|
||||||
|
*/
|
||||||
|
addBlankField(inline = false) {
|
||||||
|
return this.addField('\u200B', '\u200B', inline);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the thumbnail of this embed
|
* Set the thumbnail of this embed
|
||||||
* @param {string} url The URL of the thumbnail
|
* @param {string} url The URL of the thumbnail
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue