mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-24 22:24:58 +05:00
v3.2.4
Отправлять пользователю сообщени о разводе в лс
This commit is contained in:
parent
4d8749fa5c
commit
c1c71d5146
4 changed files with 14 additions and 2 deletions
|
@ -33,6 +33,11 @@ class Divorce extends Command {
|
||||||
message.success("economy/divorce:DIVORCED", {
|
message.success("economy/divorce:DIVORCED", {
|
||||||
username: user.username
|
username: user.username
|
||||||
});
|
});
|
||||||
|
user.send({
|
||||||
|
content: message.translate("economy/divorce:DIVORCED_U", {
|
||||||
|
username: message.author.username
|
||||||
|
})
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -193,6 +193,12 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<pre class="brush: html">
|
<pre class="brush: html">
|
||||||
|
-----------------------------------------------------------------------------------------
|
||||||
|
JaBa v3.2.4
|
||||||
|
-----------------------------------------------------------------------------------------
|
||||||
|
Добавлено
|
||||||
|
- Теперь при разводе (divorce) ползователь получает сообщение о разводе в ЛС.
|
||||||
|
|
||||||
-----------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------
|
||||||
JaBa v3.2.3
|
JaBa v3.2.3
|
||||||
-----------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -3,5 +3,6 @@
|
||||||
"USAGE": "{{prefix}}divorce",
|
"USAGE": "{{prefix}}divorce",
|
||||||
"EXAMPLES": "{{prefix}}divorce",
|
"EXAMPLES": "{{prefix}}divorce",
|
||||||
"NOT_MARRIED": "Вы не состоите в браке!",
|
"NOT_MARRIED": "Вы не состоите в браке!",
|
||||||
"DIVORCED": "Вы развелись с **{{username}}**!"
|
"DIVORCED": "Вы развелись с **{{username}}**!",
|
||||||
|
"DIVORCED_U": "**{{username}}** развёлся с вами!"
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "jaba",
|
"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",
|
"description": "A very complete Discord bot (more than 100 commands) that uses the Discord.js",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|
Loading…
Reference in a new issue