From 3193df792eaf5f5db6dd92b7b8929859561a5ccd Mon Sep 17 00:00:00 2001 From: bdistin Date: Mon, 12 Dec 2016 21:29:39 -0600 Subject: [PATCH] Added Missing Author URL Option (#979) --- src/structures/RichEmbed.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/structures/RichEmbed.js b/src/structures/RichEmbed.js index 0f1dc915b..5aac3fd44 100644 --- a/src/structures/RichEmbed.js +++ b/src/structures/RichEmbed.js @@ -121,10 +121,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; }