From 150128174f731a2846525d745aed34efc7a3b0bd Mon Sep 17 00:00:00 2001 From: shni Date: Fri, 3 Oct 2025 22:38:21 -0500 Subject: [PATCH] feat: update SelectMenuInteraction type for improved type safety --- src/core/types/components.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/types/components.ts b/src/core/types/components.ts index 4f32ee2..b124473 100644 --- a/src/core/types/components.ts +++ b/src/core/types/components.ts @@ -1,7 +1,7 @@ import type { ButtonInteraction, ModalSubmitInteraction, - AnySelectMenuInteraction, + SelectMenuInteraction, ContextMenuCommandInteraction } from "discord.js"; import type Amayo from "../client"; @@ -19,7 +19,7 @@ export interface Modal { export interface SelectMenu { customId: string; - run: (interaction: AnySelectMenuInteraction, client: Amayo) => Promise; + run: (interaction: SelectMenuInteraction, client: Amayo) => Promise; } export interface ContextMenu {