fix work's embed

This commit is contained in:
Jonny_Bro (Nikita) 2024-02-12 17:03:14 +05:00
parent 0cde8ee856
commit 6479d434a7
No known key found for this signature in database
GPG key ID: 391C19BE62D36B33

View file

@ -59,7 +59,7 @@ class Work extends BaseCommand {
if (memberData.workStreak >= 5) { if (memberData.workStreak >= 5) {
won += 200; won += 200;
embed.fields = [ embed.data.fields = [
{ {
name: interaction.translate("economy/work:SALARY"), name: interaction.translate("economy/work:SALARY"),
value: interaction.translate("economy/work:SALARY_CONTENT", { value: interaction.translate("economy/work:SALARY_CONTENT", {
@ -80,7 +80,7 @@ class Work extends BaseCommand {
award[i] = `:regional_indicator_${letter.toLowerCase()}:`; award[i] = `:regional_indicator_${letter.toLowerCase()}:`;
} }
} }
embed.fields = [ embed.data.fields = [
{ {
name: interaction.translate("economy/work:SALARY"), name: interaction.translate("economy/work:SALARY"),
value: interaction.translate("economy/work:SALARY_CONTENT", { value: interaction.translate("economy/work:SALARY_CONTENT", {