🚸 Fix error so it shows you or target
This commit is contained in:
parent
1196ae3bcc
commit
317e698ea0
1 changed files with 1 additions and 1 deletions
|
@ -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 },
|
||||
|
|
Loading…
Add table
Reference in a new issue