debug: why is this not working?

This commit is contained in:
zkldi
2024-04-25 02:16:03 +01:00
parent abfc883db6
commit 297708c5d7
+2
View File
@@ -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, "");