mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 14:44:58 +05:00
Фиксики
This commit is contained in:
parent
5aa123ed32
commit
56825a80c2
2 changed files with 5 additions and 4 deletions
|
@ -93,6 +93,7 @@ class Help extends Command {
|
||||||
embed.addField("\u200B", message.translate("misc:STATS_FOOTER", {
|
embed.addField("\u200B", message.translate("misc:STATS_FOOTER", {
|
||||||
dashboardLink: "https://dashboard.jaba.pp.ua/",
|
dashboardLink: "https://dashboard.jaba.pp.ua/",
|
||||||
docsLink: "https://jaba.pp.ua/docs/",
|
docsLink: "https://jaba.pp.ua/docs/",
|
||||||
|
inviteLink: this.client.generateInvite({ scopes: ["bot"], permissions: [Discord.Permissions.FLAGS.ADMINISTRATOR] }),
|
||||||
donateLink: "https://qiwi.com/n/JONNYBRO/",
|
donateLink: "https://qiwi.com/n/JONNYBRO/",
|
||||||
owner: data.config.owner.id
|
owner: data.config.owner.id
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -55,14 +55,14 @@ class Clear extends Command {
|
||||||
let toDelete = null;
|
let toDelete = null;
|
||||||
|
|
||||||
if (user) {
|
if (user) {
|
||||||
toDelete = await message.success("moderation/clear:CLEARED_MEMBER", {
|
toDelete = await message.channel.send(message.translate("moderation/clear:CLEARED_MEMBER", {
|
||||||
amount: `${amount} ${message.getNoun(amount, message.translate("misc:NOUNS:MESSAGES:1"), message.translate("misc:NOUNS:MESSAGES:2"), message.translate("misc:NOUNS:MESSAGES:5"))}`,
|
amount: `${amount} ${message.getNoun(amount, message.translate("misc:NOUNS:MESSAGES:1"), message.translate("misc:NOUNS:MESSAGES:2"), message.translate("misc:NOUNS:MESSAGES:5"))}`,
|
||||||
username: user.tag
|
username: user.tag
|
||||||
});
|
}));
|
||||||
} else {
|
} else {
|
||||||
toDelete = await message.success("moderation/clear:CLEARED", {
|
toDelete = await message.channel.send(message.translate("moderation/clear:CLEARED", {
|
||||||
amount: `${amount} ${message.getNoun(amount, message.translate("misc:NOUNS:MESSAGES:1"), message.translate("misc:NOUNS:MESSAGES:2"), message.translate("misc:NOUNS:MESSAGES:5"))}`
|
amount: `${amount} ${message.getNoun(amount, message.translate("misc:NOUNS:MESSAGES:1"), message.translate("misc:NOUNS:MESSAGES:2"), message.translate("misc:NOUNS:MESSAGES:5"))}`
|
||||||
});
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
|
Loading…
Reference in a new issue