aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-23 19:23:50 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-23 19:23:50 -0500
commit2a6dfeb82eaa66b202c9f666c27e9518cdb76527 (patch)
tree3943c16d92185c553a3f3e4cdb46cfcde76de65a
parentd182857040e7c6031dd2415f560a0209ee2a6ab2 (diff)
downloadtanzanite-2a6dfeb82eaa66b202c9f666c27e9518cdb76527.tar.gz
tanzanite-2a6dfeb82eaa66b202c9f666c27e9518cdb76527.tar.bz2
tanzanite-2a6dfeb82eaa66b202c9f666c27e9518cdb76527.zip
fix(MassBanCommand): max embed description
-rw-r--r--src/commands/moderation/massBan.ts2
1 files changed, 1 insertions, 1 deletions
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}`);
}