Skip to content

Commit

Permalink
Update memberinfo.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince527GitHub committed Feb 22, 2024
1 parent 111d794 commit f35b95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/info/memberinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module.exports = {
}

const nitroEmoji = client.config.emoji.badges.discord_nitro;
const isNitro = banner !== null || member.user.avatarURL({ dynamic: true }).includes('gif') || member.premiumSince;
const isNitro = banner !== null || member.user.avatarURL({ dynamic: true })?.includes('gif') || member.premiumSince;
const nitro = isNitro ? nitroEmoji : "";

const isLegacyUsername = new Date(member.user.createdAt).getTime() < 1677657600000;
Expand Down

0 comments on commit f35b95c

Please sign in to comment.