From 317e698ea0f59359860f85b7b59c9e6498a26a25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20Olausson=20Holten=C3=A4s?= Date: Wed, 9 Mar 2022 21:54:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Fix=20error=20so=20it=20shows=20?= =?UTF-8?q?you=20or=20target?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/profile/addons/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/profile/addons/view.js b/src/commands/profile/addons/view.js index 32a4873..2ae9946 100644 --- a/src/commands/profile/addons/view.js +++ b/src/commands/profile/addons/view.js @@ -38,7 +38,7 @@ module.exports = async (interaction) => { if (user === null || experience === null || credit === null) { const embed = { title: 'Profile', - description: 'You have to write something before viewing your profile!', + description: `${target || 'You'} have to write something before viewing ${target || 'your'} profile!`, timestamp: new Date(), color: config.colors.error, footer: { iconURL: config.footer.icon, text: config.footer.text },