🚸 Fix error so it shows you or target

This commit is contained in:
Axel Olausson Holtenäs 2022-03-09 21:54:52 +01:00
parent 1196ae3bcc
commit 317e698ea0
No known key found for this signature in database
GPG key ID: E3AE7E194AE017ED

View file

@ -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 },