diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-23 19:23:50 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-23 19:23:50 -0500 |
commit | 2a6dfeb82eaa66b202c9f666c27e9518cdb76527 (patch) | |
tree | 3943c16d92185c553a3f3e4cdb46cfcde76de65a /src | |
parent | d182857040e7c6031dd2415f560a0209ee2a6ab2 (diff) | |
download | tanzanite-2a6dfeb82eaa66b202c9f666c27e9518cdb76527.tar.gz tanzanite-2a6dfeb82eaa66b202c9f666c27e9518cdb76527.tar.bz2 tanzanite-2a6dfeb82eaa66b202c9f666c27e9518cdb76527.zip |
fix(MassBanCommand): max embed description
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/moderation/massBan.ts | 2 |
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}`); } |