From c3e58abfc1eb4f6bb780165c6dea04a8d4053fa2 Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 26 Dec 2022 16:22:44 -0600 Subject: [PATCH] Add link to the avatar for mobile users --- commands/avatar.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/commands/avatar.js b/commands/avatar.js index 519db6d..d88b693 100644 --- a/commands/avatar.js +++ b/commands/avatar.js @@ -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 } + }] }; }