require chat ids
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user