userinfo string bug

master
Kit Kasune 3 years ago
parent 302da98f39
commit e7b13d74d9
  1. 4
      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);
}

Loading…
Cancel
Save