Add link to the avatar for mobile users

This commit is contained in:
Sophie Marie 2022-12-26 16:22:44 -06:00
parent c484d727f5
commit c3e58abfc1
No known key found for this signature in database
GPG Key ID: 0C9FB786E7770775
1 changed files with 5 additions and 8 deletions

View File

@ -30,15 +30,12 @@ module.exports = {
handle (_, config, user, target) {
return {
embeds: [{
title: `:frame_photo: ${target.username}'s Beautiful Avatar!`,
title: `:frame_photo: ${target.username}'s Beautiful Profile Picture!`,
description: `[Profile picture link (Mobile users, tap here!)](${target.displayAvatarURL({ dynamic: true })})`,
color: 9442302,
footer: {
icon_url: user.displayAvatarURL(),
text: config.footerTxt
},
image: {
url: target.displayAvatarURL({ dynamic: true })
}
image: { url: target.displayAvatarURL({ dynamic: true }) },
footer: { icon_url: user.displayAvatarURL(), text: config.footerTxt }
}]
};
}