Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed May 16, 2024
1 parent 33d50c7 commit cb7df5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ export async function startStopBounty() {

if (context.eventName === "issue_comment.created") {
console.log("PAYLOAD", context.payload);
const command = context.payload.comment.body;
const { comment } = context as unknown as Context<"issue_comment.created">["payload"];
const command = comment.body;
console.log("COMMAND", command);

output = await userStartStop(context, command);
} else {
Expand Down

0 comments on commit cb7df5c

Please sign in to comment.