This commit is contained in:
Travis CI 2016-12-13 03:30:30 +00:00
parent 782a9d322a
commit 131b312824
2 changed files with 5 additions and 4 deletions

View file

@ -10088,10 +10088,11 @@ class RichEmbed {
* Sets the author of this embed
* @param {string} name The name of the author
* @param {string} [icon] The icon URL of the author
* @param {string} [url] The URL of the author
* @returns {RichEmbed} This embed
*/
setAuthor(name, icon) {
this.author = { name, icon_url: icon };
setAuthor(name, icon, url) {
this.author = { name, icon_url: icon, url };
return this;
}

File diff suppressed because one or more lines are too long