From 8baa6d8fdff7e9b396d63d212874ecfdc1c6f78c Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sat, 1 Jan 2022 03:16:11 +0500 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=B0=D0=BB=D0=B5=D0=BD=D1=8C=D0=BA?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B2=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B8=20=D0=BA=D1=80=D0=B5=D0=B4=D0=B8=D1=82?= =?UTF-8?q?=D0=BE=D0=B2=20=D0=B8=20np?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Economy/deposit.js | 4 ++-- commands/Economy/withdraw.js | 4 ++-- commands/Music/np.js | 2 +- languages/ru-RU/economy/deposit.json | 2 +- languages/ru-RU/economy/withdraw.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/commands/Economy/deposit.js b/commands/Economy/deposit.js index 1f7528eb..f93d9785 100644 --- a/commands/Economy/deposit.js +++ b/commands/Economy/deposit.js @@ -29,7 +29,7 @@ class Deposit extends Command { }; if (data.memberData.money < amount) return message.error("economy/deposit:NOT_ENOUGH_CREDIT", { - money: `${amount} ${this.client.getNoun(amount, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}` + money: `**${amount}** ${this.client.getNoun(amount, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}` }); data.memberData.money = data.memberData.money - amount; @@ -37,7 +37,7 @@ class Deposit extends Command { data.memberData.save(); message.success("economy/deposit:SUCCESS", { - money: amount + money: `**${amount}** ${this.client.getNoun(amount, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}` }); } }; diff --git a/commands/Economy/withdraw.js b/commands/Economy/withdraw.js index 84180b89..2bef477f 100644 --- a/commands/Economy/withdraw.js +++ b/commands/Economy/withdraw.js @@ -29,7 +29,7 @@ class Withdraw extends Command { }; if (data.memberData.bankSold < amount) return message.error("economy/withdraw:NOT_ENOUGH", { - money: `${amount} ${this.client.getNoun(amount, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}` + money: `**${amount}** ${this.client.getNoun(amount, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}` }); data.memberData.money = data.memberData.money + amount; @@ -37,7 +37,7 @@ class Withdraw extends Command { data.memberData.save(); message.success("economy/withdraw:SUCCESS", { - money: `${amount} ${this.client.getNoun(amount, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}` + money: `**${amount}** ${this.client.getNoun(amount, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}` }); } }; diff --git a/commands/Music/np.js b/commands/Music/np.js index 030211ac..7764f063 100644 --- a/commands/Music/np.js +++ b/commands/Music/np.js @@ -31,7 +31,7 @@ class Np extends Command { const embed = new Discord.MessageEmbed() .setAuthor(message.translate("music/queue:TITLE")) .setThumbnail(track.thumbnail) - .addField(message.translate("music/np:T_TITLE"), track.name + `\n${track.url}`) + .addField(message.translate("music/np:T_TITLE"), `[${track.name}](${track.url})`) .addField(message.translate("music/np:T_CHANNEL"), track.uploader.name ? track.uploader.name : "Отсутствует") .addField(message.translate("music/np:T_DURATION"), `${queue.formattedCurrentTime} / ${track.formattedDuration}`) .setColor(data.config.embed.color) diff --git a/languages/ru-RU/economy/deposit.json b/languages/ru-RU/economy/deposit.json index 6c58a4e3..e37370e8 100644 --- a/languages/ru-RU/economy/deposit.json +++ b/languages/ru-RU/economy/deposit.json @@ -5,5 +5,5 @@ "MISSING_AMOUNT": "Укажите сумму!", "NO_CREDIT": "У вас нет кредитов!", "NO_ENOUGH_CREDIT": "У вас нет `{{money}}`!", - "SUCCESS": "**{{money}}** кредитов внесено на ваш банковский счёт!" + "SUCCESS": "{{money}} внесено на ваш банковский счёт!" } \ No newline at end of file diff --git a/languages/ru-RU/economy/withdraw.json b/languages/ru-RU/economy/withdraw.json index 2d1f95de..e1534482 100644 --- a/languages/ru-RU/economy/withdraw.json +++ b/languages/ru-RU/economy/withdraw.json @@ -5,5 +5,5 @@ "MISSING_AMOUNT": "Укажите сумму!", "NO_CREDIT": "Недостаточно кредитов на банковском счёте!", "NOT_ENOUGH": "У вас должно быть хотя бы `{{money}}`!", - "SUCCESS": "Вы сняли **{{money}}**!" + "SUCCESS": "Вы сняли {{money}}!" } \ No newline at end of file