From e7b13d74d9be27694221967d8bae51642054e2a1 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Tue, 5 Oct 2021 22:15:15 -0600 Subject: [PATCH] userinfo string bug --- commands/misc/userinfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/misc/userinfo.js b/commands/misc/userinfo.js index fd7267d..419d354 100644 --- a/commands/misc/userinfo.js +++ b/commands/misc/userinfo.js @@ -22,7 +22,7 @@ module.exports = { .setTitle(`User Info for ${name}`) .setDescription(`Requested by ${message.guild ? message.member.displayName : message.author.username}`) .setThumbnail(client.users.cache.get(person.id).avatarURL({size: 2048})) - .addField("Account Created", moment(client.users.cache.get(person.id).createdAt).fromNow(), true) + .addField("Account Created", `${moment(client.users.cache.get(person.id).createdAt).fromNow()}`, true) .addField("Bot User?", client.users.cache.get(person.id).bot ? "Is a bot" : "Is not a bot", true) .setColor('c375f0') .setFooter('Natsuki', client.user.avatarURL()) @@ -36,7 +36,7 @@ module.exports = { } if (tu) { - infoembed.addField('Natsuki Commands Executed', tu.commands) + infoembed.addField('Natsuki Commands Executed', `${tu.commands}`) .addField('Donator?', tu.developer ? `Well, ${name} makes me work, so they're a supporter in my book!` : tu.donator ? 'Yes! They have donated or supported me in the past!' : 'No', true) .addField('Natsuki Staff Level', tu.developer ? 'Developer' : tu.admin ? 'Admin; Audit access to the bot' : tu.staff ? 'Staff; Support but with maintenance permissions' : tu.support ? 'Support; Answers tickets and help queries' : 'Member; Does not have a staff rank.', true); }