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) { handle (_, config, user, target) {
return { return {
embeds: [{ 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, color: 9442302,
footer: { image: { url: target.displayAvatarURL({ dynamic: true }) },
icon_url: user.displayAvatarURL(), footer: { icon_url: user.displayAvatarURL(), text: config.footerTxt }
text: config.footerTxt
},
image: {
url: target.displayAvatarURL({ dynamic: true })
}
}] }]
}; };
} }