Add link to the avatar for mobile users
This commit is contained in:
parent
c484d727f5
commit
c3e58abfc1
|
@ -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 })
|
|
||||||
}
|
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue