Skip to content

Commit dd05bae

Browse files
committed
Flex to 10
1 parent c884709 commit dd05bae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands/flex.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export async function execute(interaction: CommandInteraction) {
1717
// Create the event in the database
1818
const topUsers = await db.query.users.findMany({
1919
orderBy: (users, { desc }) => [desc(users.points)],
20+
limit: 10,
2021
});
2122

2223
const curUserPlace = topUsers.findIndex(

0 commit comments

Comments
 (0)