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", {