Фиксики

This commit is contained in:
JonnyBro 2022-02-07 12:45:55 +05:00
parent 5aa123ed32
commit 56825a80c2
2 changed files with 5 additions and 4 deletions

View file

@ -93,6 +93,7 @@ class Help extends Command {
embed.addField("\u200B", message.translate("misc:STATS_FOOTER", {
dashboardLink: "https://dashboard.jaba.pp.ua/",
docsLink: "https://jaba.pp.ua/docs/",
inviteLink: this.client.generateInvite({ scopes: ["bot"], permissions: [Discord.Permissions.FLAGS.ADMINISTRATOR] }),
donateLink: "https://qiwi.com/n/JONNYBRO/",
owner: data.config.owner.id
}));

View file

@ -55,14 +55,14 @@ class Clear extends Command {
let toDelete = null;
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"))}`,
username: user.tag
});
}));
} 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"))}`
});
}));
}
setTimeout(function () {