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 {