mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
mod_actions: fix possible embed size overflow in user !cases
This commit is contained in:
parent
453ca0808e
commit
eee1c6d789
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ export const CasesUserCmd = modActionsCmd({
|
||||||
const lines = await asyncMap(casesToDisplay, c => casesPlugin.getCaseSummary(c, true, msg.author.id));
|
const lines = await asyncMap(casesToDisplay, c => casesPlugin.getCaseSummary(c, true, msg.author.id));
|
||||||
|
|
||||||
const prefix = getGuildPrefix(pluginData);
|
const prefix = getGuildPrefix(pluginData);
|
||||||
const linesPerChunk = 15;
|
const linesPerChunk = 10;
|
||||||
const lineChunks = chunkArray(lines, linesPerChunk);
|
const lineChunks = chunkArray(lines, linesPerChunk);
|
||||||
|
|
||||||
const footerField = {
|
const footerField = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue