solved event bug
This commit is contained in:
parent
fbbbb649e7
commit
30f0c90339
1 changed files with 0 additions and 1 deletions
1
app.js
1
app.js
|
@ -155,7 +155,6 @@ async function report() {
|
||||||
app.event('message', async (body) => {
|
app.event('message', async (body) => {
|
||||||
try {
|
try {
|
||||||
let e = body.event;
|
let e = body.event;
|
||||||
console.log('okay it works');
|
|
||||||
if (typeof e.subtype === "undefined" && /\d/.test(e.text[0])) {
|
if (typeof e.subtype === "undefined" && /\d/.test(e.text[0])) {
|
||||||
let number = extractNumber(e.text);
|
let number = extractNumber(e.text);
|
||||||
let ts = e.ts;
|
let ts = e.ts;
|
||||||
|
|
Loading…
Reference in a new issue