Comparing version 1.0.0 to 1.0.1
@@ -94,4 +94,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
_bot.onText(RegExp(`\/${commandName}$`), (msg, match) => __awaiter(this, void 0, void 0, function* () { | ||
console.log(msg); | ||
let chatUser = undefined; | ||
if (msg.from) { | ||
@@ -98,0 +96,0 @@ let chatUser = getOrCreateUser(msg.from); |
{ | ||
"name": "dialog-bot", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -9,3 +9,4 @@ "type": "module", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"prepublish": "tsc" | ||
}, | ||
@@ -12,0 +13,0 @@ "keywords": [], |
@@ -5,6 +5,8 @@ { | ||
"module": "esnext", | ||
"lib": ["es2017", "es7", "es6", "dom"], | ||
"moduleResolution": "node", | ||
"strict": true, | ||
"esModuleInterop": true, | ||
"outDir": "dist" | ||
"outDir": "dist", | ||
"declaration": true, | ||
}, | ||
@@ -11,0 +13,0 @@ "include": [ |
84726
30
822