From 6479d434a7973bc39e4d080414e6951d9d070eff Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Mon, 12 Feb 2024 17:03:14 +0500 Subject: [PATCH] fix work's embed --- commands/Economy/work.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/Economy/work.js b/commands/Economy/work.js index f67a3bb0..a3e461c4 100644 --- a/commands/Economy/work.js +++ b/commands/Economy/work.js @@ -59,7 +59,7 @@ class Work extends BaseCommand { if (memberData.workStreak >= 5) { won += 200; - embed.fields = [ + embed.data.fields = [ { name: interaction.translate("economy/work:SALARY"), value: interaction.translate("economy/work:SALARY_CONTENT", { @@ -80,7 +80,7 @@ class Work extends BaseCommand { award[i] = `:regional_indicator_${letter.toLowerCase()}:`; } } - embed.fields = [ + embed.data.fields = [ { name: interaction.translate("economy/work:SALARY"), value: interaction.translate("economy/work:SALARY_CONTENT", {