diff --git a/handlers/Actions.ts b/handlers/Actions.ts index 371a37b..3589e88 100644 --- a/handlers/Actions.ts +++ b/handlers/Actions.ts @@ -30,6 +30,7 @@ import type { import type { Snowflake } from "../util/Snowflake.ts"; import type { Session } from "../session/Session.ts"; import type { Channel } from "../structures/channels/ChannelFactory.ts"; +import type { Interaction } from "../structures/interactions/InteractionFactory.ts"; import ChannelFactory from "../structures/channels/ChannelFactory.ts"; import GuildChannel from "../structures/channels/GuildChannel.ts"; import ThreadChannel from "../structures/channels/ThreadChannel.ts"; @@ -38,7 +39,7 @@ import Member from "../structures/Member.ts"; import Message from "../structures/Message.ts"; import User from "../structures/User.ts"; import Guild from "../structures/guilds/Guild.ts"; -import InteractionFactory from "../structures/interactions/interactions/InteractionFactory.ts"; +import InteractionFactory from "../structures/interactions/InteractionFactory.ts"; export type RawHandler = (...args: [Session, number, T]) => void; export type Handler = (...args: T) => unknown; diff --git a/structures/interactions/AutoCompleteInteraction.ts b/structures/interactions/AutoCompleteInteraction.ts index 877d87e..063b407 100644 --- a/structures/interactions/AutoCompleteInteraction.ts +++ b/structures/interactions/AutoCompleteInteraction.ts @@ -3,7 +3,7 @@ import type { Model } from "../Base.ts"; import type { Snowflake } from "../../util/Snowflake.ts"; import type { Session } from "../../session/Session.ts"; import type { ApplicationCommandTypes, DiscordInteraction, InteractionTypes } from "../../vendor/external.ts"; -import type { ApplicationCommandOptionChoice } from "./BaseInteraction.ts"; +import type { ApplicationCommandOptionChoice } from "./CommandInteraction.ts"; import { InteractionResponseTypes } from "../../vendor/external.ts"; import BaseInteraction from "./BaseInteraction.ts"; import * as Routes from "../../util/Routes.ts"; diff --git a/structures/interactions/InteractionFactory.ts b/structures/interactions/InteractionFactory.ts index 1ed1f5a..386d23d 100644 --- a/structures/interactions/InteractionFactory.ts +++ b/structures/interactions/InteractionFactory.ts @@ -30,3 +30,5 @@ export class InteractionFactory { } } } + +export default InteractionFactory;