Smol n?ui bugfix

master
WubzyGD 4 years ago
parent c51388f869
commit 74bdd8cfff
  1. 2
      commands/userinfo.js

@ -13,7 +13,7 @@ module.exports = {
let tu = await UserData.findOne({uid: person.id}); let tu = await UserData.findOne({uid: person.id});
let infoembed= new Discord.MessageEmbed() let infoembed= new Discord.MessageEmbed()
.setTitle(`User Info for ${name}`) .setTitle(`User Info for ${name}`)
.setDescription(`Requested by ${name}`) .setDescription(`Requested by ${message.guild ? message.member.displayName : message.author.username}`)
.setThumbnail(client.users.cache.get(person.id).avatarURL({size: 2048})) .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) .addField("Bot User?", client.users.cache.get(person.id).bot ? "Is a bot" : "Is not a bot", true)

Loading…
Cancel
Save