From 53af714f8b187f5fae8f4ab480be14a7d52ebc95 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Tue, 30 Aug 2022 16:50:32 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Moderation/clear.js | 4 ++-- commands/NSFW/nsfw.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/Moderation/clear.js b/commands/Moderation/clear.js index 6c1c3f37..0c4d8423 100644 --- a/commands/Moderation/clear.js +++ b/commands/Moderation/clear.js @@ -116,11 +116,11 @@ class Clear extends BaseCommand { interaction.replyT("moderation/clear:CLEARED_MEMBER", { amount: `**${option}** ${client.getNoun(option, interaction.translate("misc:NOUNS:MESSAGES:1"), interaction.translate("misc:NOUNS:MESSAGES:2"), interaction.translate("misc:NOUNS:MESSAGES:5"))}`, username: member.user.tag - }, { ephemeral: true }); + }, { ephemeral: true, edit: true }); } else { interaction.replyT("moderation/clear:CLEARED", { amount: `**${option}** ${client.getNoun(option, interaction.translate("misc:NOUNS:MESSAGES:1"), interaction.translate("misc:NOUNS:MESSAGES:2"), interaction.translate("misc:NOUNS:MESSAGES:5"))}` - }, { ephemeral: true }); + }, { ephemeral: true, edit: true }); } } } diff --git a/commands/NSFW/nsfw.js b/commands/NSFW/nsfw.js index 77675b43..74700372 100644 --- a/commands/NSFW/nsfw.js +++ b/commands/NSFW/nsfw.js @@ -34,7 +34,7 @@ class NSFW extends BaseCommand { async execute(client, interaction) { await interaction.deferReply({ ephemeral: true }); - if (!interaction.channel.nsfw) return interaction.replyT("misc:NSFW_COMMAND", null, { ephemeral: true }); + if (!interaction.channel.nsfw) return interaction.replyT("misc:NSFW_COMMAND", null, { ephemeral: true, edit: true }); const tags = ["hentai", "ecchi", "lewdanimegirls", "hentaifemdom", "animefeets", "animebooty", "biganimetiddies", "sideoppai", "ahegao"].map(tag => JSON.parse(JSON.stringify({