solved event bug

This commit is contained in:
Abby 2020-08-14 23:06:47 +00:00
parent fbbbb649e7
commit 30f0c90339

1
app.js
View file

@ -155,7 +155,6 @@ 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;