From 297708c5d7defbb12b7232d43760a388300b82c8 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Thu, 25 Apr 2024 02:16:03 +0100 Subject: [PATCH] debug: why is this not working? --- github-bot/src/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github-bot/src/main.ts b/github-bot/src/main.ts index 3a0cbd2fa..12753fe67 100644 --- a/github-bot/src/main.ts +++ b/github-bot/src/main.ts @@ -96,6 +96,8 @@ ${mkSeedDiffViewMsg( app.webhooks.on(["issue_comment.created"], async ({ octokit, payload }) => { const body = payload.comment.body.trim(); + console.log(`debug, temp: Issue comment created with ${body}`); + if (body.startsWith("+bot")) { const cmd = body.split(" ")[1]?.replace(/[^a-z]/u, "");