diff --git a/commands/General/help.js b/commands/General/help.js index 93286376..0fd7fbf3 100644 --- a/commands/General/help.js +++ b/commands/General/help.js @@ -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 })); diff --git a/commands/Moderation/clear.js b/commands/Moderation/clear.js index 738955b3..774d68d6 100644 --- a/commands/Moderation/clear.js +++ b/commands/Moderation/clear.js @@ -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 () {