From c1c71d5146f2e4fd71897e2b9ef32c2fc98fca94 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 9 Jan 2022 15:28:51 +0500 Subject: [PATCH] =?UTF-8?q?v3.2.4=20=D0=9E=D1=82=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D1=8F=D1=82=D1=8C=20=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8E=20=D1=81=D0=BE=D0=BE=D0=B1?= =?UTF-8?q?=D1=89=D0=B5=D0=BD=D0=B8=20=D0=BE=20=D1=80=D0=B0=D0=B7=D0=B2?= =?UTF-8?q?=D0=BE=D0=B4=D0=B5=20=D0=B2=20=D0=BB=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Economy/divorce.js | 5 +++++ dashboard/views/docs.ejs | 6 ++++++ languages/ru-RU/economy/divorce.json | 3 ++- package.json | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/commands/Economy/divorce.js b/commands/Economy/divorce.js index ae8a86e1..9b81b4be 100644 --- a/commands/Economy/divorce.js +++ b/commands/Economy/divorce.js @@ -33,6 +33,11 @@ class Divorce extends Command { message.success("economy/divorce:DIVORCED", { username: user.username }); + user.send({ + content: message.translate("economy/divorce:DIVORCED_U", { + username: message.author.username + }) + }); } }; diff --git a/dashboard/views/docs.ejs b/dashboard/views/docs.ejs index 54bd5548..d0773251 100644 --- a/dashboard/views/docs.ejs +++ b/dashboard/views/docs.ejs @@ -193,6 +193,12 @@
+									-----------------------------------------------------------------------------------------
+									JaBa v3.2.4
+									-----------------------------------------------------------------------------------------
+									Добавлено
+										- Теперь при разводе (divorce) ползователь получает сообщение о разводе в ЛС.
+
 									-----------------------------------------------------------------------------------------
 									JaBa v3.2.3
 									-----------------------------------------------------------------------------------------
diff --git a/languages/ru-RU/economy/divorce.json b/languages/ru-RU/economy/divorce.json
index 14884bc4..84731fdb 100644
--- a/languages/ru-RU/economy/divorce.json
+++ b/languages/ru-RU/economy/divorce.json
@@ -3,5 +3,6 @@
 	"USAGE": "{{prefix}}divorce",
 	"EXAMPLES": "{{prefix}}divorce",
 	"NOT_MARRIED": "Вы не состоите в браке!",
-	"DIVORCED": "Вы развелись с **{{username}}**!"
+	"DIVORCED": "Вы развелись с **{{username}}**!",
+	"DIVORCED_U": "**{{username}}** развёлся с вами!"
 }
\ No newline at end of file
diff --git a/package.json b/package.json
index 3d519aa7..bfa63c1a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "jaba",
-    "version": "3.2.3",
+    "version": "3.2.4",
     "description": "A very complete Discord bot (more than 100 commands) that uses the Discord.js",
     "main": "index.js",
     "private": true,