Bug Fix
This commit is contained in:
1 parent
9ba720aafb
commit
eababbb26b
2 files changed
+2
-2
No files matched your search
@@ -19,7 +19,7 @@ exports.newSocialBots = function (processIndex) {
|
||||
let socialBot = TS.projects.superalgos.globals.processConstants.CONSTANTS_BY_PROCESS_INDEX_MAP.get(processIndex).SESSION_NODE.socialBots.bots[i]
|
||||
if (socialBot.type === "Telegram Bot") {
|
||||
let config = socialBot.config
|
||||
socialBot.botInstance = TELEGRAM_BOT_MODULE.newTelegramBot()
|
||||
socialBot.botInstance = TELEGRAM_BOT_MODULE.newTelegramBot(processIndex)
|
||||
socialBot.botInstance.initialize(config.botToken, config.chatId)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
exports.newTelegramBot = function newTelegramBot() {
|
||||
exports.newTelegramBot = function (processIndex) {
|
||||
|
||||
const MODULE_NAME = 'Telegram Bot'
|
||||
|
||||
|
||||
Reference in new issue
Block a user