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:
parent
e72abb05b2
commit
e42bbb953f
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ const opts = {
|
||||||
mod: ct.userId({ option: true }),
|
mod: ct.userId({ option: true }),
|
||||||
};
|
};
|
||||||
|
|
||||||
const casesPerPage = 10;
|
const casesPerPage = 5;
|
||||||
|
|
||||||
export const CasesModCmd = modActionsCmd({
|
export const CasesModCmd = modActionsCmd({
|
||||||
trigger: ["cases", "modlogs", "infractions"],
|
trigger: ["cases", "modlogs", "infractions"],
|
||||||
|
|
|
@ -28,7 +28,7 @@ const opts = {
|
||||||
unbans: ct.switchOption({ def: false, shortcut: "ub" }),
|
unbans: ct.switchOption({ def: false, shortcut: "ub" }),
|
||||||
};
|
};
|
||||||
|
|
||||||
const casesPerPage = 10;
|
const casesPerPage = 5;
|
||||||
|
|
||||||
export const CasesUserCmd = modActionsCmd({
|
export const CasesUserCmd = modActionsCmd({
|
||||||
trigger: ["cases", "modlogs"],
|
trigger: ["cases", "modlogs"],
|
||||||
|
|
Loading…
Add table
Reference in a new issue