utility.avatar: forgot to set url on self lookup
This commit is contained in:
parent
772d3188f2
commit
3f6d0aa13c
1 changed files with 1 additions and 0 deletions
|
@ -187,6 +187,7 @@ avatar.callback = async function (msg, line) {
|
||||||
baseEmbed.description =
|
baseEmbed.description =
|
||||||
`[Normal avatar](${normalUrl})` +
|
`[Normal avatar](${normalUrl})` +
|
||||||
(guild && guildAvatar ? `\n[Guild avatar](${guildUrl})` : "");
|
(guild && guildAvatar ? `\n[Guild avatar](${guildUrl})` : "");
|
||||||
|
baseEmbed.url = normalUrl;
|
||||||
|
|
||||||
const guildEmbed = {...baseEmbed};
|
const guildEmbed = {...baseEmbed};
|
||||||
baseEmbed.image = {url: normalUrl};
|
baseEmbed.image = {url: normalUrl};
|
||||||
|
|
Loading…
Reference in a new issue