From c9779214ba66d25341c6159dceed2d5e8e2a2221 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 12 Feb 2023 14:44:55 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D1=80=D1=82=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=BA=D0=B0=20=D0=BD=D0=B5=20=D0=B2=20=D1=82=D1=83=20?= =?UTF-8?q?=D1=81=D1=82=D0=BE=D1=80=D0=BE=D0=BD=D1=83=20=3D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/General/boosters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/General/boosters.js b/commands/General/boosters.js index ab17a269..02f058d5 100644 --- a/commands/General/boosters.js +++ b/commands/General/boosters.js @@ -151,7 +151,7 @@ function generateBoostersEmbeds(interaction, boosters) { let k = 10; for (let i = 0; i < boosters.size; i += 10) { - const current = boosters.sort((a, b) => b.premiumSinceTimestamp - a.premiumSinceTimestamp).map(g => g).slice(i, k); + const current = boosters.sort((a, b) => a.premiumSinceTimestamp - b.premiumSinceTimestamp).map(g => g).slice(i, k); let j = i; k += 10;