mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 04:00:42 +00:00
Webpack build: 3193df792e
This commit is contained in:
parent
782a9d322a
commit
131b312824
2 changed files with 5 additions and 4 deletions
|
|
@ -10088,10 +10088,11 @@ class RichEmbed {
|
||||||
* Sets the author of this embed
|
* Sets the author of this embed
|
||||||
* @param {string} name The name of the author
|
* @param {string} name The name of the author
|
||||||
* @param {string} [icon] The icon URL of the author
|
* @param {string} [icon] The icon URL of the author
|
||||||
|
* @param {string} [url] The URL of the author
|
||||||
* @returns {RichEmbed} This embed
|
* @returns {RichEmbed} This embed
|
||||||
*/
|
*/
|
||||||
setAuthor(name, icon) {
|
setAuthor(name, icon, url) {
|
||||||
this.author = { name, icon_url: icon };
|
this.author = { name, icon_url: icon, url };
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
4
discord.indev.min.js
vendored
4
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue