feat: increase the number of files displayed per page from 2 to 4
This commit is contained in:
parent
ceabfb8b3a
commit
fcaf8fee75
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue