🌐 fancier error

This commit is contained in:
Axel Olausson Holtenäs 2022-03-09 21:56:05 +01:00
parent 317e698ea0
commit f3b34e0bfe
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) { 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 },