bot parameter removed from all files
This commit is contained in:
1 parent
042241de0f
commit
28f4c56d56
49 files changed
+108
-128
No files matched your search
@@ -1,4 +1,4 @@
|
||||
exports.newSocialBots = function (processIndex, bot, logger) {
|
||||
exports.newSocialBots = function (processIndex, logger) {
|
||||
|
||||
const MODULE_NAME = 'Social Bots'
|
||||
|
||||
@@ -19,7 +19,7 @@ exports.newSocialBots = function (processIndex, bot, logger) {
|
||||
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(bot, logger)
|
||||
socialBot.botInstance = TELEGRAM_BOT_MODULE.newTelegramBot(logger)
|
||||
socialBot.botInstance.initialize(config.botToken, config.chatId)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user