From fbbbb649e7b6d8fe047e965466b4f6ff97b948bb Mon Sep 17 00:00:00 2001 From: Abby Date: Fri, 14 Aug 2020 23:05:13 +0000 Subject: [PATCH] tried to debug :/ --- app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 961d343..7871149 100644 --- a/app.js +++ b/app.js @@ -4,7 +4,7 @@ const keep_alive = require('./keep_alive.js') const schedule = require('node-schedule'); const moment = require('moment'); const token = process.env.SLACK_BOT_TOKEN; -const channel = "CDJMS683D"; +const channel = "CDJMS683D"; //'C017W4PHYKS' for debugging, "CDJMS683D" actual const Airtable = require('airtable'); Airtable.configure({ endpointUrl: 'https://api.airtable.com', @@ -155,6 +155,7 @@ async function report() { app.event('message', async (body) => { try { let e = body.event; + console.log('okay it works'); if (typeof e.subtype === "undefined" && /\d/.test(e.text[0])) { let number = extractNumber(e.text); let ts = e.ts;