dynamic ui pfp

master
Kit Kasune 3 years ago
parent a785839dc4
commit 032566178d
  1. 2
      commands/misc/userinfo.js

@ -28,7 +28,7 @@ module.exports = {
let infoembed = new Discord.MessageEmbed() let infoembed = new Discord.MessageEmbed()
.setTitle(`User Info for ${name}`) .setTitle(`User Info for ${name}`)
.setDescription(`Requested by ${message.guild ? message.member.displayName : message.author.username}`) .setDescription(`Requested by ${message.guild ? message.member.displayName : message.author.username}`)
.setThumbnail((message.guild ? person : u).displayAvatarURL({size: 4096})) .setThumbnail((message.guild ? person : u).displayAvatarURL({size: 4096, dynamic: true, format: 'png'}))
.addField("Account Created", `${moment.preciseDiff(Date.now(), u.createdAt)} ago`, true) .addField("Account Created", `${moment.preciseDiff(Date.now(), u.createdAt)} ago`, true)
.addField("Bot User?", u.bot ? "Is a bot" : "Is not a bot", true) .addField("Bot User?", u.bot ? "Is a bot" : "Is not a bot", true)
.setColor('c375f0') .setColor('c375f0')

Loading…
Cancel
Save