From fbef5c76bc4a9a401f683baad5757cc971e46455 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Thu, 13 Oct 2022 00:11:31 +0500 Subject: [PATCH] =?UTF-8?q?=D0=95=D1=89=D1=91=20=D0=BE=D0=B4=D0=B8=D0=BD?= =?UTF-8?q?=20=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/General/help.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/General/help.js b/commands/General/help.js index 17b6b66a..eda74b1e 100644 --- a/commands/General/help.js +++ b/commands/General/help.js @@ -70,13 +70,14 @@ class Help extends BaseCommand { .addOptions(categoriesRows) ); - await interaction.editReply({ + const msg = await interaction.editReply({ content: interaction.translate("common:AVAILABLE_OPTIONS"), + fetchReply: true, components: [row] }); const filter = i => i.user.id === interaction.user.id; - const collector = interaction.channel.createMessageComponentCollector({ filter, idle: (15 * 1000) }); + const collector = msg.createMessageComponentCollector({ filter, idle: (15 * 1000) }); collector.on("collect", async i => { if (i.isSelectMenu() && (i.customId === "help_category_select" || i.customId === "help_commands_select")) {