mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
Обновление slots под изменение склонений слов
This commit is contained in:
parent
5a4db56915
commit
d7d13d2fc4
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ class Slots extends Command {
|
||||||
tmsg.edit(msg);
|
tmsg.edit(msg);
|
||||||
const credits = getCredits(amount, false);
|
const credits = getCredits(amount, false);
|
||||||
message.channel.send(message.translate("economy/slots:VICTORY", {
|
message.channel.send(message.translate("economy/slots:VICTORY", {
|
||||||
money: amount,
|
money: `${amount} ${message.getNoun(amount, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`,
|
||||||
won: credits,
|
won: `${credits} ${message.getNoun(credits, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`,
|
||||||
username: message.author.username
|
username: message.author.username
|
||||||
}));
|
}));
|
||||||
const toAdd = credits - amount;
|
const toAdd = credits - amount;
|
||||||
|
|
Loading…
Reference in a new issue