require chat ids

This commit is contained in:
2020-05-14 12:13:35 +02:00
parent c34e7796c5
commit 811e953e58
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ const TelegramBot = require('node-telegram-bot-api');
const simCo = require('./simco-credentials');
const tgInfo = require('./telegram-credentials');
if (!simCo.cookie || !tgInfo.token) {
if (!simCo.cookie || !tgInfo.token || !tgInfo.debugChat) {
console.error("ERR: credentials not set.")
return;
}