utility.avatar: forgot to set url on self lookup

This commit is contained in:
Cynthia Foxwell 2022-04-05 10:55:05 -06:00
parent 772d3188f2
commit 3f6d0aa13c
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ avatar.callback = async function (msg, line) {
baseEmbed.description =
`[Normal avatar](${normalUrl})` +
(guild && guildAvatar ? `\n[Guild avatar](${guildUrl})` : "");
baseEmbed.url = normalUrl;
const guildEmbed = {...baseEmbed};
baseEmbed.image = {url: normalUrl};