🌐 fancier error
This commit is contained in:
parent
317e698ea0
commit
f3b34e0bfe
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ module.exports = async (interaction) => {
|
||||||
if (user === null || experience === null || credit === null) {
|
if (user === null || experience === null || credit === null) {
|
||||||
const embed = {
|
const embed = {
|
||||||
title: 'Profile',
|
title: 'Profile',
|
||||||
description: `${target || 'You'} have to write something before viewing ${target || 'your'} profile!`,
|
description: `${target || 'You'} have to write something before viewing ${target ? 'their' : 'your'} profile!`,
|
||||||
timestamp: new Date(),
|
timestamp: new Date(),
|
||||||
color: config.colors.error,
|
color: config.colors.error,
|
||||||
footer: { iconURL: config.footer.icon, text: config.footer.text },
|
footer: { iconURL: config.footer.icon, text: config.footer.text },
|
||||||
|
|
Loading…
Add table
Reference in a new issue