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 simCo = require('./simco-credentials');
|
||||||
const tgInfo = require('./telegram-credentials');
|
const tgInfo = require('./telegram-credentials');
|
||||||
if (!simCo.cookie || !tgInfo.token) {
|
if (!simCo.cookie || !tgInfo.token || !tgInfo.infoChat) {
|
||||||
console.error("ERR: credentials not set.")
|
console.error("ERR: credentials not set.")
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ const TelegramBot = require('node-telegram-bot-api');
|
|||||||
|
|
||||||
const simCo = require('./simco-credentials');
|
const simCo = require('./simco-credentials');
|
||||||
const tgInfo = require('./telegram-credentials');
|
const tgInfo = require('./telegram-credentials');
|
||||||
if (!simCo.cookie || !tgInfo.token) {
|
if (!simCo.cookie || !tgInfo.token || !tgInfo.debugChat) {
|
||||||
console.error("ERR: credentials not set.")
|
console.error("ERR: credentials not set.")
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user