Update bot/index.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alexa Amundson
2025-11-24 16:47:36 -06:00
committed by GitHub
parent babec5c182
commit 856c041162

View File

@@ -13,7 +13,6 @@ if (!event || !fs.existsSync(event)) {
const payload = JSON.parse(fs.readFileSync(event, "utf8")); const payload = JSON.parse(fs.readFileSync(event, "utf8"));
console.log("📦 Event Payload:", JSON.stringify(payload, null, 2)); console.log("📦 Event Payload:", JSON.stringify(payload, null, 2));
const type = payload.action;
const comment = payload.comment?.body || ""; const comment = payload.comment?.body || "";
const reaction = payload.reaction?.content || ""; const reaction = payload.reaction?.content || "";