From 80399cd2940caa03b6bd59bbc646a8724bf77991 Mon Sep 17 00:00:00 2001 From: Isaac Date: Mon, 8 Aug 2022 23:36:45 +0100 Subject: [PATCH] Fix Discord's UI problem --- src/menus/create.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/menus/create.js b/src/menus/create.js index 887068e..e0b282d 100644 --- a/src/menus/create.js +++ b/src/menus/create.js @@ -13,6 +13,7 @@ module.exports = class CreateMenu extends Menu { * @param {import("discord.js").SelectMenuInteraction} interaction */ async run(id, interaction) { + interaction.message.edit({ components: interaction.message.components }); // reset the select menu (minor client-side UI issue) await this.client.tickets.create({ categoryId: interaction.values[0], interaction,