feat: increase the number of files displayed per page from 2 to 4

This commit is contained in:
grngxd 2025-07-31 23:14:11 +01:00
parent ceabfb8b3a
commit fcaf8fee75

View file

@ -16,7 +16,7 @@ export const data = new SlashCommandBuilder()
);
export async function renderList(user: User, userId: string, page: number): Promise<InteractionReplyOptions> {
const amount = 2;
const amount = 4;
const { count } = await db.get<{ count: number }>`
SELECT COUNT(*) as count FROM files WHERE owner = ${userId}