mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
fix work's embed
This commit is contained in:
parent
0cde8ee856
commit
6479d434a7
1 changed files with 2 additions and 2 deletions
|
@ -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", {
|
||||||
|
|
Loading…
Reference in a new issue