diff --git a/src/mahoji/commands/leaderboard.ts b/src/mahoji/commands/leaderboard.ts index e09deec9f7..4cace6e0ed 100644 --- a/src/mahoji/commands/leaderboard.ts +++ b/src/mahoji/commands/leaderboard.ts @@ -537,7 +537,7 @@ async function skillsLb( const events = await prisma.userEvent.findMany({ where: { - type: 'MaxLevel', + type: 'MaxXP', skill: skill.id }, orderBy: {