diff --git a/server/chat-plugins/seasons.ts b/server/chat-plugins/seasons.ts index d682201f8329..06a20e427145 100644 --- a/server/chat-plugins/seasons.ts +++ b/server/chat-plugins/seasons.ts @@ -66,7 +66,9 @@ function getUserHTML(user: User, format: string) { const buf = `${user.name}`; const badgeType = getBadges(user, format).filter(x => x.format === format)[0]?.type; if (badgeType) { - return `` + buf; + let formatType = format.split(/gen\d+/)[1]; + if (!['ou', 'randombattle'].includes(formatType)) formatType = 'rotating'; + return `` + buf; } return buf; }