Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
diff --git a/src/index.ts b/src/index.ts index add9eb9..6b191bd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import { InteractionType } from "discord-interactions"; import { Hono } from "hono"; -import { handleApplicationComand as handleApplicationCommand } from "./interactions/applicationCommand"; +import { handleApplicationCommand as handleApplicationCommand } from "./interactions/applicationCommand"; import { handleModalSubmit } from "./interactions/modalSubmit"; import { verifyDiscordInteraction } from "./middleware/verifyDiscordInteraction"; import { CheckinsRepository } from "./repositories/checkinsRepository"; diff --git a/src/interactions/applicationCommand.ts b/src/interactions/applicationCommand.ts index 47f49bd..0e8f4bd 100644 --- a/src/interactions/applicationCommand.ts +++ b/src/interactions/applicationCommand.ts @@ -3,7 +3,7 @@ import { CHECKIN_COMMAND_NAME } from "../constants"; import { UsersRepository } from "../repositories/usersRepository"; import { buildCheckinModalResponse } from "../responses/checkinCommandResponse"; -export const handleApplicationComand = async ({ +export const handleApplicationCommand = async ({ intentObj, userRepository, }: {
- Loading branch information