Skip to content

Commit

Permalink
debug: why is this not working?
Browse files Browse the repository at this point in the history
  • Loading branch information
zkrising committed Apr 25, 2024
1 parent abfc883 commit 297708c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions github-bot/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, "");

Expand Down

0 comments on commit 297708c

Please sign in to comment.