3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-14 21:31:50 +00:00

fix: use lower casesPerPage

Temporary fix to make it unlikely to go over the 4096 character limit

Needs a proper fix in the future where we pre-render the case
summaries and paginate based on their length.
This commit is contained in:
Dragory 2024-01-27 14:47:59 +02:00
parent e72abb05b2
commit e42bbb953f
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ const opts = {
mod: ct.userId({ option: true }),
};
const casesPerPage = 10;
const casesPerPage = 5;
export const CasesModCmd = modActionsCmd({
trigger: ["cases", "modlogs", "infractions"],

View file

@ -28,7 +28,7 @@ const opts = {
unbans: ct.switchOption({ def: false, shortcut: "ub" }),
};
const casesPerPage = 10;
const casesPerPage = 5;
export const CasesUserCmd = modActionsCmd({
trigger: ["cases", "modlogs"],