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/.vscode/settings.json b/.vscode/settings.json index 0be0a63..779c22d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,6 +2,6 @@ "editor.defaultFormatter": "biomejs.biome", "editor.formatOnPaste": true, "editor.formatOnSave": true, - "cSpell.words": ["CHECKIN", "checkins"], + "cSpell.words": ["CHECKIN", "checkins", "Mokumoku"], "editor.formatOnType": true } diff --git a/src/index.ts b/src/index.ts index 1881f73..1aec815 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,7 @@ import { InteractionType } from "discord-interactions"; import { Hono } from "hono"; import checkinCommand from "./interactions/applicationCommands/checkin"; +import mokumokuStartCommand from "./interactions/applicationCommands/mokumokuStart"; import { handleApplicationCommands } from "./interactions/handleApplicationCommands"; import { handleModalSubmits } from "./interactions/handleModalSubmit"; import checkinModal from "./interactions/modalSubmits/checkinModal"; @@ -24,7 +25,7 @@ app.post("/interaction", verifyDiscordInteraction, async (c) => { intentObj: body, userRepository: new UsersRepository(c.env.DB), checkinsRepository: new CheckinsRepository(c.env.DB), - commands: [checkinCommand], + commands: [checkinCommand, mokumokuStartCommand], }), ); case InteractionType.MODAL_SUBMIT: diff --git a/src/responses/checkinCommandResponse.ts b/src/responses/checkinCommandResponse.ts index efd5530..514781d 100644 --- a/src/responses/checkinCommandResponse.ts +++ b/src/responses/checkinCommandResponse.ts @@ -27,8 +27,7 @@ export const buildCheckinModalResponse = ( max_length: 512, required: true, value: prevProfile, - placeholder: - "山田太郎です。水戸でエンジニアをしています。", + placeholder: "山田太郎です。水戸でエンジニアをしています。", }, ], },
- Loading branch information