Update userinfo.js

This commit is contained in:
hcs1219 2023-05-22 00:37:29 +08:00 committed by GitHub
parent 362f4ea98d
commit 5f978c1392
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ module.exports = {
const joinDateFormatted = utils.parseDate(new Date(member.joinedAt));
const embed = new EmbedBuilder()
.setAuthor({
name: `${member.user.tag} ${client.owners.includes(member.id)) ? client.dev : ""}`,
name: member.user.tag,
iconURL: member.user.displayAvatarURL({ dynamic: true, size: 4096 }),
})
.setTimestamp()
@ -55,7 +55,8 @@ module.exports = {
.addFields([
{
name: "User",
value: `** Username:** ${member.user.username}
value: `** User Tag:** ${member.user.tag} ${client.owners.includes(member.id)) ? client.dev : ""}
** Username:** ${member.user.username}
** Discriminator:** ${member.user.discriminator}
** Nickname:** ${nickname}
** User ID:** ${member.id}