From 2a6dfeb82eaa66b202c9f666c27e9518cdb76527 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 23 Feb 2022 19:23:50 -0500 Subject: fix(MassBanCommand): max embed description --- src/commands/moderation/massBan.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/commands/moderation/massBan.ts b/src/commands/moderation/massBan.ts index 116f066..18c3b50 100644 --- a/src/commands/moderation/massBan.ts +++ b/src/commands/moderation/massBan.ts @@ -105,7 +105,7 @@ export default class MassBanCommand extends BushCommand { let currentEmbed = embeds.length ? embeds[embeds.length - 1] : embed(); - if (`${currentEmbed.description}\n${row}`.length >= 2048) currentEmbed = embed(); + if (`${currentEmbed.description}\n${row}`.length >= 2096) currentEmbed = embed(); currentEmbed.setDescription(`${currentEmbed.description}\n${row}`); } -- cgit