3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

mod_actions: fix possible embed size overflow in user !cases

This commit is contained in:
Dragory 2020-10-13 19:26:16 +03:00
parent 453ca0808e
commit eee1c6d789
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -70,7 +70,7 @@ export const CasesUserCmd = modActionsCmd({
const lines = await asyncMap(casesToDisplay, c => casesPlugin.getCaseSummary(c, true, msg.author.id));
const prefix = getGuildPrefix(pluginData);
const linesPerChunk = 15;
const linesPerChunk = 10;
const lineChunks = chunkArray(lines, linesPerChunk);
const footerField = {