feat: update SelectMenuInteraction type for improved type safety

This commit is contained in:
2025-10-03 22:38:21 -05:00
parent ace2bfdd8f
commit 150128174f

View File

@@ -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<unknown>;
run: (interaction: SelectMenuInteraction, client: Amayo) => Promise<unknown>;
}
export interface ContextMenu {