From 54c07c2626eb254fed518cd0da14fc2138bf14c3 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Mon, 12 Jun 2023 22:45:02 +0500 Subject: [PATCH] fix locale in boosters --- 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 c4d390ce..ed20a2d8 100644 --- a/commands/General/boosters.js +++ b/commands/General/boosters.js @@ -159,7 +159,7 @@ function generateBoostersEmbeds(client, interaction, boosters) { let j = i; k += 10; - const info = current.map(member => `${++j}. ${member.toString()} | ${interaction.translate("general/boosters:BOOSTER_SINCE")}: **${client.functions.printDate(client, member.premiumSince, null, interaction.guild.data.locale)}**`).join("\n"); + const info = current.map(member => `${++j}. ${member.toString()} | ${interaction.translate("general/boosters:BOOSTER_SINCE")}: **${client.functions.printDate(client, member.premiumSince, null, interaction.guild.data.lanugage)}**`).join("\n"); const embed = new EmbedBuilder() .setColor(interaction.client.config.embed.color)