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,