diff --git a/src/equicordplugins/showBadgesInChat/index.tsx b/src/equicordplugins/showBadgesInChat/index.tsx index 58875ddd..d74d44dc 100644 --- a/src/equicordplugins/showBadgesInChat/index.tsx +++ b/src/equicordplugins/showBadgesInChat/index.tsx @@ -126,21 +126,13 @@ function CheckBadge({ badge, author }: { badge: string; author: User; }): JSX.El ) : null; case "DiscordNitro": - let premiumType: Number | undefined; - premiumType = author?.premiumType; - // @ts-ignore - if (author?._realPremiumType) { - // @ts-ignore - premiumType = author?._realPremiumType; - } - // @ts-ignore - return premiumType > 0 ? ( + return (author?.premiumType ?? 0) > 0 ? (